mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2024-12-18 23:48:56 +02:00
13 lines
468 B
Plaintext
13 lines
468 B
Plaintext
|
Token = FunctionParameters["Dropbox_Token"];
|
||
|
Folder = FunctionParameters["Dropbox_SharedFolder"];
|
||
|
|
||
|
Result = OPI_Dropbox.CancelFolderPublication(Token, Folder);
|
||
|
CurrentStatus = "in_progress";
|
||
|
JobID = Result["async_job_id"];
|
||
|
|
||
|
WHile CurrentStatus = "in_progress" Do
|
||
|
Result = OPI_Dropbox.GetAsynchronousChangeStatus(Token, JobID);
|
||
|
CurrentStatus = Result[".tag"];
|
||
|
OPI_Tools.Pause(3);
|
||
|
EndDo;
|