Skip to content

Commit

Permalink
Merge pull request #20 from dddwa/fix/wrong-var
Browse files Browse the repository at this point in the history
Fixed var
  • Loading branch information
JakeGinnivan authored Nov 6, 2024
2 parents b647cb7 + 5fdf8e1 commit bc69a7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
# TODO Replace this PAT with a GitHub App
GH_CONTENT_TOKEN: ${{ secrets.GH_CONTENT_TOKEN }}
GOOGLE_FORMS_API_KEY: ${{ secrets.GOOGLE_FORMS_API_KEY }}
GOOGLE_FORMS_FORM_ID: ${{ secrets.GOOGLE_FORMS_FORM_ID }}
GOOGLE_FORMS_FILE_ID: ${{ secrets.GOOGLE_FORMS_FILE_ID }}

steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion website/app/routes/app-announcements.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export type GoogleFormUpdates = {
/** This route is used by the app for on the day announcements */
export async function loader() {
const apiKey = process.env.GOOGLE_FORMS_API_KEY
const fileId = process.env.GOOGLE_FORMS_FORM_ID
const fileId = process.env.GOOGLE_FORMS_FILE_ID
if (!apiKey || !fileId) {
return new Response(JSON.stringify({ message: 'No Google Forms API key or form ID' }), { status: 404 })
}
Expand Down

0 comments on commit bc69a7d

Please sign in to comment.