1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2024-12-27 02:43:54 +02:00

Преобразование OPI -> OInt (workflow)

This commit is contained in:
Vitaly the Alpaca 2024-06-19 14:02:58 +00:00 committed by Vitaly the Alpaca (bot)
parent 37d15ec688
commit e460ffc9f7
3 changed files with 413 additions and 413 deletions

File diff suppressed because it is too large Load Diff

View File

@ -912,15 +912,15 @@ Function UploadFileToStorage(Val URL
Method = "disk.storage.uploadfile";
FileData = New Structure("NAME", Name);
FileData = New Map();
FileData.Insert(Name, File);
FileContent = New Map();
FileContent.Insert(Name, File);
Parameters = NormalizeAuth(URL, Token, Method);
OPI_Tools.AddField("data" , FileData, "Collection", Parameters);
OPI_Tools.AddField("rights", Rights , "Array" , Parameters);
OPI_Tools.AddField("id" , StorageID, "String" , Parameters);
FileArray = NormalizeFiles(FileData);
FileArray = NormalizeFiles(FileContent);
FileArray.Add(Name);
If Not FileArray.Count() = 0 Then

View File

@ -912,15 +912,15 @@ Function UploadFileToStorage(Val URL
Method = "disk.storage.uploadfile";
FileData = New Structure("NAME", Name);
FileData = New Map();
FileData.Insert(Name, File);
FileContent = New Map();
FileContent.Insert(Name, File);
Parameters = NormalizeAuth(URL, Token, Method);
OPI_Tools.AddField("data" , FileData, "Collection", Parameters);
OPI_Tools.AddField("rights", Rights , "Array" , Parameters);
OPI_Tools.AddField("id" , StorageID, "String" , Parameters);
FileArray = NormalizeFiles(FileData);
FileArray = NormalizeFiles(FileContent);
FileArray.Add(Name);
If Not FileArray.Count() = 0 Then