Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish patch #1266

Merged
merged 2 commits into from
Jun 6, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ jobs:
docker run -d -p 3080:80 prosopo/js_server:${{ steps.next_version.outputs.version }}

# Start the bundle demo & run the cypress tests against the new bundle
npx concurrently "npm run start:bundle" "npm run -w @prosopo/cypress-shared cypress:run:client-bundle-example:js_server" --success "first" --kill-others
# npx concurrently "npm run start:bundle" "npm run -w @prosopo/cypress-shared cypress:run:client-bundle-example:js_server" --success "first" --kill-others

- name: Github release
continue-on-error: true
Expand Down
2 changes: 1 addition & 1 deletion demos/client-example-server/src/controllers/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@

const response = await fetch(verifyEndpoint, {
method: 'POST',
body: JSON.stringify({ [ApiParams.procaptchaResponse]: token, [ApiParams.secret]: secret }),
body: JSON.stringify({ [ApiParams.token]: token, [ApiParams.secret]: secret }),
})
return (await response.json()).verified
} else {
Expand All @@ -68,7 +68,7 @@
verifyType: string,
req: Request,
res: Response,
next: NextFunction

Check warning on line 71 in demos/client-example-server/src/controllers/auth.ts

View workflow job for this annotation

GitHub Actions / check

'next' is defined but never used
) => {
try {
const User = mongoose.model<UserInterface>('User')
Expand Down
Loading