Skip to content

Commit

Permalink
test sync
Browse files Browse the repository at this point in the history
  • Loading branch information
sebald committed Sep 25, 2023
1 parent ec77d75 commit 801d242
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ jobs:
run: |
curl -L --header "Content-Type: application/json" \
--request POST \
--data '{"token":"$TOKEN"}' \
--data '{"token":"reTurn.0f.th3.jed1!is_The-B3ST_star-waRs-moviE!"}' \
https://www.pattern-analyzer.app/api/sync
2 changes: 1 addition & 1 deletion app/api/sync/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const POST = async (request: NextRequest) => {
if (token !== process.env.SYNC_TOKEN) {
return NextResponse.json(
{
name: 'Sync!',
name: 'Sync Info!',
message: `Latest sync at ${lastSync}`,
},
{
Expand Down

1 comment on commit 801d242

@vercel
Copy link

@vercel vercel bot commented on 801d242 Sep 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.