- add docker-swarm deployment example

- update dependencies
This commit is contained in:
Amruth Pillai
2023-11-22 09:08:23 +01:00
parent 55e94ca792
commit dfb3ef60dd
12 changed files with 602 additions and 413 deletions
@@ -283,7 +283,7 @@ export const ImportDialog = () => {
<Label className="text-error">{t`Errors`}</Label>
<ScrollArea orientation="vertical" className="h-[180px]">
<div className="whitespace-pre-wrap rounded bg-secondary-accent p-4 font-mono text-xs leading-relaxed">
{JSON.stringify(validationResult.errors, null, 4)}
{JSON.stringify(JSON.parse(validationResult.errors), null, 4)}
</div>
</ScrollArea>
</div>
@@ -34,10 +34,10 @@ export class ContributorsService {
}
async fetchCrowdinContributors() {
const projectId = this.configService.getOrThrow("CROWDIN_PROJECT_ID");
const accessToken = this.configService.getOrThrow("CROWDIN_PERSONAL_TOKEN");
try {
const projectId = this.configService.getOrThrow("CROWDIN_PROJECT_ID");
const accessToken = this.configService.getOrThrow("CROWDIN_PERSONAL_TOKEN");
const response = await this.httpService.axiosRef.get(
`https://api.crowdin.com/api/v2/projects/${projectId}/members`,
{ headers: { Authorization: `Bearer ${accessToken}` } },