fix: remove crowdin_distribution_hash env

This commit is contained in:
Amruth Pillai
2023-11-14 14:00:27 +01:00
parent f24bbe7631
commit 36b1930c0d
2 changed files with 2 additions and 3 deletions

View File

@ -34,8 +34,8 @@ export class ContributorsService {
}
async fetchCrowdinContributors() {
const projectId = this.configService.get("CROWDIN_PROJECT_ID");
const accessToken = this.configService.get("CROWDIN_ACCESS_TOKEN");
const projectId = this.configService.getOrThrow("CROWDIN_PROJECT_ID");
const accessToken = this.configService.getOrThrow("CROWDIN_ACCESS_TOKEN");
const response = await this.httpService.axiosRef.get(
`https://api.crowdin.com/api/v2/projects/${projectId}/members`,