@enplug/scripts 1.11.4-dev4 → 1.11.4-dev5
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.
|
@@ -138,7 +138,8 @@ async function findCrowdinAppDirectoryId(credentials, crowdinPath) {
|
|
|
138
138
|
const url = `${CROWDIN_PROJECT_URL}/directories?filter=${appName}`;
|
|
139
139
|
const AuthStr = 'Bearer '.concat(credentials.token);
|
|
140
140
|
const directories = await axios.get(url, { headers: { Authorization: AuthStr } });
|
|
141
|
-
console.log('directories', directories.data.data)
|
|
141
|
+
console.log('directories', directories.data.data);
|
|
142
|
+
console.log('appName', appName);
|
|
142
143
|
return directories.data.data.find(d => d.data.name === appName).id;
|
|
143
144
|
} else if(path.startsWith('dashboard')) {
|
|
144
145
|
const url = `${CROWDIN_PROJECT_URL}/directories?filter=dashboard`;
|