Skip to content

Commit

Permalink
Change jwtInputSchema to be mandatory
Browse files Browse the repository at this point in the history
  • Loading branch information
anttiasmala committed Oct 23, 2024
1 parent 8612912 commit abb1302
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions backend/GoogleAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ const PATH_TO_KEY_FILE = process.env.GOOGLE_SERVICE_ACCOUNT_JSON_FILE;
const SPREADSHEET_ID = process.env.SPREADSHEET_ID;

const jwtInputSchema = z.object({
type: z.string().optional(),
client_email: z.string().email().optional(),
private_key: z.string().optional(),
private_key_id: z.string().optional(),
project_id: z.string().optional(),
client_id: z.string().optional(),
client_secret: z.string().optional(),
refresh_token: z.string().optional(),
quota_project_id: z.string().optional(),
universe_domain: z.string().optional(),
type: z.string(),
client_email: z.string().email(),
private_key: z.string(),
private_key_id: z.string(),
project_id: z.string(),
client_id: z.string(),
client_secret: z.string(),
refresh_token: z.string(),
quota_project_id: z.string(),
universe_domain: z.string(),
});

export async function sendFeedbackToGoogleSheets({
Expand Down

0 comments on commit abb1302

Please sign in to comment.