mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-13 16:22:59 +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 (Optional)
|
||||||
CROWDIN_PROJECT_ID: z.coerce.number().optional(),
|
CROWDIN_PROJECT_ID: z.coerce.number().optional(),
|
||||||
CROWDIN_DISTRIBUTION_HASH: z.string().optional(),
|
|
||||||
CROWDIN_ACCESS_TOKEN: z.string().optional(),
|
CROWDIN_ACCESS_TOKEN: z.string().optional(),
|
||||||
|
|
||||||
// GitHub (OAuth)
|
// GitHub (OAuth)
|
||||||
|
|||||||
@ -34,8 +34,8 @@ export class ContributorsService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async fetchCrowdinContributors() {
|
async fetchCrowdinContributors() {
|
||||||
const projectId = this.configService.get("CROWDIN_PROJECT_ID");
|
const projectId = this.configService.getOrThrow("CROWDIN_PROJECT_ID");
|
||||||
const accessToken = this.configService.get("CROWDIN_ACCESS_TOKEN");
|
const accessToken = this.configService.getOrThrow("CROWDIN_ACCESS_TOKEN");
|
||||||
|
|
||||||
const response = await this.httpService.axiosRef.get(
|
const response = await this.httpService.axiosRef.get(
|
||||||
`https://api.crowdin.com/api/v2/projects/${projectId}/members`,
|
`https://api.crowdin.com/api/v2/projects/${projectId}/members`,
|
||||||
|
|||||||
Reference in New Issue
Block a user