mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-13 08:13:49 +10:00
fix: remove crowdin_distribution_hash env
This commit is contained in:
@ -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)
|
||||
|
||||
@ -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`,
|
||||
|
||||
Reference in New Issue
Block a user