Skip to content

Commit

Permalink
Merge branch 'main' into brendan-planDay
Browse files Browse the repository at this point in the history
  • Loading branch information
R2bEEaton authored Dec 19, 2023
2 parents da3813d + 306637b commit a7ecd81
Show file tree
Hide file tree
Showing 14 changed files with 9,542 additions and 9,018 deletions.
2 changes: 1 addition & 1 deletion api/db/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ datasource db {

generator client {
provider = "prisma-client-js"
binaryTargets = "native"
binaryTargets = ["native", "rhel-openssl-3.0.x"]
}

// Define your own datamodels here and run `yarn redwood prisma migrate dev`
Expand Down
6 changes: 3 additions & 3 deletions api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"version": "0.0.0",
"private": true,
"dependencies": {
"@redwoodjs/api": "6.3.3",
"@redwoodjs/auth-dbauth-api": "6.3.3",
"@redwoodjs/graphql-server": "6.3.3",
"@redwoodjs/api": "6.5.1",
"@redwoodjs/auth-dbauth-api": "6.5.1",
"@redwoodjs/graphql-server": "6.5.1",
"crypto-js": "^4.2.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,7 @@ import { db } from 'src/lib/db'
import CryptoJS from 'crypto-js'

export const handler = async (event, _context) => {
switch (event.path) {
case '/oauth/callback':
return await callback(event)
default:
// Whatever this is, it's not correct, so return "Not Found"
return {
statusCode: 404,
error: 'Error: returned status code 302',
}
}
return await callback(event)
}

const callback = async (event) => {
Expand Down
Loading

0 comments on commit a7ecd81

Please sign in to comment.