Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Cache node modules
uses: actions/cache@v2
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
Expand All @@ -37,7 +37,7 @@ jobs:
run: yarn

- name: Cache Playwright Browsers
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
~/.cache/ms-playwright
Expand Down
1 change: 0 additions & 1 deletion public/mailchimp.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions src/pages/api/apply.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ interface ParsedBody {
email?: string;
city?: string;
state?: string;
zipCode?: string;
zipCode?: number;
country?: string;
branchOfService?: string;
yearJoined?: string;
yearSeparated?: string;
yearJoined?: number;
yearSeparated?: number;
hasAttendedPreviousCourse?: boolean;
previousCourses?: string;
willAttendAnotherCourse?: boolean;
Expand Down Expand Up @@ -98,6 +98,6 @@ export default async function handler(req: Request, res: Response) {
} catch (err) {
// Log the error for debugging and respond with an error message
// console.error("Failed to post to #mentor channel:", err);
return res.status(500).json({ message: "Failed to post to #mentor channel" });
return res.status(500).json({ message: "Failed to post to #apply channel" });
}
}
Loading