(branchId)
| 57 | } |
| 58 | |
| 59 | async function getFilesFromBranch(branchId) { |
| 60 | const res = await axios.get(`${baseUrl}/projects/${projectId}/files?branchId=${branchId}&recursion=true`, { headers }); |
| 61 | return res.data.data; |
| 62 | } |
| 63 | |
| 64 | async function buildFileTranslation(fileId, langId) { |
| 65 | const buildRes = await axios.post(`${baseUrl}/projects/${projectId}/translations/builds/files/${fileId}`, { |