Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

fix: remove crowdin_distribution_hash env

Amruth Pillai36b1930c0d3c
diff --git a/apps/server/src/config/schema.ts b/apps/server/src/config/schema.ts
index 5148d8fc1..eaf104699 100644
--- a/apps/server/src/config/schema.ts
+++ b/apps/server/src/config/schema.ts
@@ -44,7 +44,6 @@ export const configSchema = z.object({
// Crowdin (Optional)
CROWDIN_PROJECT_ID: z.coerce.number().optional(),
- CROWDIN_DISTRIBUTION_HASH: z.string().optional(),
CROWDIN_ACCESS_TOKEN: z.string().optional(),
// GitHub (OAuth)
diff --git a/apps/server/src/contributors/contributors.service.ts b/apps/server/src/contributors/contributors.service.ts
index 02c434359..65748eb01 100644
--- a/apps/server/src/contributors/contributors.service.ts
+++ b/apps/server/src/contributors/contributors.service.ts
@@ -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`,