Fixed SMS and Email cloud services

This commit is contained in:
frikky
2020-11-14 08:29:16 +01:00
parent 83089d2d39
commit 8abd1584aa
3 changed files with 110 additions and 5 deletions
+3 -2
View File
@@ -6644,6 +6644,7 @@ type CloudSyncJob struct {
SecondaryItem string `json:"secondary_item" datastore:"secondary_item"`
ThirdItem string `json:"third_item" datastore:"third_item"`
FourthItem string `json:"fourth_item" datastore:"fourth_item"`
FifthItem string `json:"fifth_item" datastore:"fifth_item"`
Created string `json:"created" datastore:"created"`
}
@@ -7231,7 +7232,7 @@ func runInit(ctx context.Context) {
job := func() {
err := remoteOrgJobHandler(org, interval)
if err != nil {
log.Printf("Failed request with remote org setup (2): %s", err)
log.Printf("[ERROR] Failed request with remote org setup (2): %s", err)
}
}
@@ -7844,7 +7845,7 @@ func handleCloudSetup(resp http.ResponseWriter, request *http.Request) {
job := func() {
err := remoteOrgJobHandler(*org, interval)
if err != nil {
log.Printf("Failed request with remote org setup (1): %s", err)
log.Printf("[ERROR] Failed request with remote org setup (1): %s", err)
}
}