File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,7 +22,11 @@ Function onData($systemworker : Object; $data : Object)
2222 // not needed for Curl
2323 // in Gdrive or Dropbox used when asking for Authentication
2424 This:C1470 .data .text + = $data .data
25- If ((This:C1470 .type = "gdrive") | (This:C1470 .type = "dropbox"))
25+ If ((This:C1470 .type = "gdrive") && (This:C1470 .data .text = "@Authentication@"))
26+ $systemworker .terminate ()
27+ End if
28+
29+ If ((This:C1470 .type = "dropbox") && (This:C1470 .data .text = "@authorization@"))
2630 $systemworker .terminate ()
2731 End if
2832
@@ -76,4 +80,4 @@ Function onTerminate($systemworker : Object; $data : Object)
7680
7781Function _createFile ($title : Text; $textBody : Text)
7882 // debug only
79- TEXT TO DOCUMENT:C1237 (Get 4D folder:C485 (Current resources folder:K5:16 )+ $title + ".txt" ; $textBody )
83+ TEXT TO DOCUMENT:C1237 (Get 4D folder:C485 (Current resources folder:K5:16 )+ $title + ".txt" ; $textBody )
You can’t perform that action at this time.
0 commit comments