fix(tools): Integrate certificate and comment dictionaries into the Curriculum project on Crowdin (#40872)
* fix: integrate certificate and dictionary files to Crowdin * fix: correct linting issue * fix: improved the isReserveredHeading function
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
const makeRequest = require('./make-request');
|
||||
const delay = require('./delay');
|
||||
const authHeader = require('./auth-header');
|
||||
|
||||
const addFile = async (projectId, filename, fileContent, directoryId) => {
|
||||
@@ -88,7 +87,6 @@ const getFiles = async projectId => {
|
||||
let files = [];
|
||||
while (!done) {
|
||||
const endPoint = `projects/${projectId}/files?limit=500&offset=${offset}`;
|
||||
await delay(1000);
|
||||
const response = await makeRequest({
|
||||
method: 'get',
|
||||
endPoint,
|
||||
|
Reference in New Issue
Block a user