@enplug/scripts 1.11.4-dev40 → 1.11.4-dev41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -182,7 +182,7 @@ function updateCrowdinFile(credentials, storageId, fileId) {
182
182
  },
183
183
  "replaceModifiedContext": false
184
184
  }
185
- return axios.put(url, body, { headers: { Authorization: AuthStr } }).pipe(
185
+ return from(axios.put(url, body, { headers: { Authorization: AuthStr } })).pipe(
186
186
  tap({
187
187
  next: response => {
188
188
  if (response.data) {
@@ -82,7 +82,7 @@ async function syncTranslations(s3Client, bucket) {
82
82
  if(fileId) {
83
83
  const storageId = await uploadFileToCrowdinStorage(credentials, crowdiPath, config.localPath);
84
84
  if(fileId && storageId) {
85
- await updateCrowdinFile(credentials, storageId.data.data.id, fileId);
85
+ updateCrowdinFile(credentials, storageId.data.data.id, fileId);
86
86
  }
87
87
  } else {
88
88
  //TODO add file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enplug/scripts",
3
- "version": "1.11.4-dev40",
3
+ "version": "1.11.4-dev41",
4
4
  "description": "Enplug scripts",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",