-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
the api should 500 not 401 if there is a db error (#468)
* the api should 500 not 401 if there is a db error (aside from not finding key). rescue was too liberal before * changeset * fix bugs * bump prisma so we can use error codes * use relative imports in this project * disable redwood_ts test because create-redwood-app fails to create a typescript app
- Loading branch information
1 parent
210dd70
commit a79f937
Showing
9 changed files
with
67 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"mailing": patch | ||
"mailing-core": patch | ||
"web": patch | ||
--- | ||
|
||
The auth api should 500 not 401 if there is a database error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -122,3 +122,6 @@ e2e/cache | |
# Prisma clients | ||
packages/web/prisma/generated | ||
packages/cli/prisma/generated | ||
|
||
# VSCode | ||
.vscode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2055,18 +2055,35 @@ | |
pirates "^4.0.1" | ||
source-map-support "^0.5.16" | ||
|
||
"@prisma/client@^4.2.0", "@prisma/client@^4.4.0": | ||
"@prisma/[email protected]": | ||
version "4.11.0" | ||
resolved "https://registry.npmjs.org/@prisma/client/-/client-4.11.0.tgz#41d5664dea4172c954190a432f70b86d3e2e629b" | ||
integrity sha512-0INHYkQIqgAjrt7NzhYpeDQi8x3Nvylc2uDngKyFDDj1tTRQ4uV1HnVmd1sQEraeVAN63SOK0dgCKQHlvjL0KA== | ||
dependencies: | ||
"@prisma/engines-version" "4.11.0-57.8fde8fef4033376662cad983758335009d522acb" | ||
|
||
"@prisma/client@^4.2.0": | ||
version "4.4.0" | ||
resolved "https://registry.yarnpkg.com/@prisma/client/-/client-4.4.0.tgz#45f59c172dd3621ecc92d7cf9bc765d85e6c7d56" | ||
integrity sha512-ciKOP246x1xwr04G9ajHlJ4pkmtu9Q6esVyqVBO0QJihaKQIUvbPjClp17IsRJyxqNpFm4ScbOc/s9DUzKHINQ== | ||
dependencies: | ||
"@prisma/engines-version" "4.4.0-66.f352a33b70356f46311da8b00d83386dd9f145d6" | ||
|
||
"@prisma/engines-version@4.11.0-57.8fde8fef4033376662cad983758335009d522acb": | ||
version "4.11.0-57.8fde8fef4033376662cad983758335009d522acb" | ||
resolved "https://registry.npmjs.org/@prisma/engines-version/-/engines-version-4.11.0-57.8fde8fef4033376662cad983758335009d522acb.tgz#74af5ff56170c78e93ce46c56510160f58cd3c01" | ||
integrity sha512-3Vd8Qq06d5xD8Ch5WauWcUUrsVPdMC6Ge8ILji8RFfyhUpqon6qSyGM0apvr1O8n8qH8cKkEFqRPsYjuz5r83g== | ||
|
||
"@prisma/engines-version@4.4.0-66.f352a33b70356f46311da8b00d83386dd9f145d6": | ||
version "4.4.0-66.f352a33b70356f46311da8b00d83386dd9f145d6" | ||
resolved "https://registry.yarnpkg.com/@prisma/engines-version/-/engines-version-4.4.0-66.f352a33b70356f46311da8b00d83386dd9f145d6.tgz#00875863bb30b670a586a5b5794a000f7f3ad976" | ||
integrity sha512-P5v/PuEIJLYXZUZBvOLPqoyCW+m6StNqHdiR6te++gYVODpPdLakks5HVx3JaZIY+LwR02juJWFlwpc9Eog/ug== | ||
|
||
"@prisma/[email protected]": | ||
version "4.11.0" | ||
resolved "https://registry.npmjs.org/@prisma/engines/-/engines-4.11.0.tgz#c99749bfe20f58e8f4d2b5e04fee0785eba440e1" | ||
integrity sha512-0AEBi2HXGV02cf6ASsBPhfsVIbVSDC9nbQed4iiY5eHttW9ZtMxHThuKZE1pnESbr8HRdgmFSa/Kn4OSNYuibg== | ||
|
||
"@prisma/[email protected]": | ||
version "4.4.0" | ||
resolved "https://registry.yarnpkg.com/@prisma/engines/-/engines-4.4.0.tgz#6ca7d3ce8eee08dcfa82311b0a02f5ccaac7dc0c" | ||
|
@@ -9057,7 +9074,14 @@ pretty-format@^29.1.2: | |
ansi-styles "^5.0.0" | ||
react-is "^18.0.0" | ||
|
||
prisma@^4.2.0, prisma@^4.4.0: | ||
[email protected]: | ||
version "4.11.0" | ||
resolved "https://registry.npmjs.org/prisma/-/prisma-4.11.0.tgz#9695ba4129a43eab3e76b5f7a033c6c020377725" | ||
integrity sha512-4zZmBXssPUEiX+GeL0MUq/Yyie4ltiKmGu7jCJFnYMamNrrulTBc+D+QwAQSJ01tyzeGHlD13kOnqPwRipnlNw== | ||
dependencies: | ||
"@prisma/engines" "4.11.0" | ||
|
||
prisma@^4.4.0: | ||
version "4.4.0" | ||
resolved "https://registry.yarnpkg.com/prisma/-/prisma-4.4.0.tgz#0c53324bf6a29474636b3e1964e0d72e0277bf8f" | ||
integrity sha512-l/QKLmLcKJQFuc+X02LyICo0NWTUVaNNZ00jKJBqwDyhwMAhboD1FWwYV50rkH4Wls0RviAJSFzkC2ZrfawpfA== | ||
|
a79f937
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
web-emails – ./packages/web
web-emails-sofn.vercel.app
web-emails-git-main-sofn.vercel.app
mailing-web.vercel.app
emails.mailing.run
a79f937
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
mailing-web – ./packages/web
mailing-web-git-main-sofn.vercel.app
mailing-web-sofn.vercel.app
web-rho-puce.vercel.app
mailing.run
www.mailing.run
a79f937
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
mailing-dynamic-demo – ./
mailing-dynamic-demo.vercel.app
demo.mailing.run
mailing-dynamic-demo-sofn.vercel.app
mailing-dynamic-demo-git-main-sofn.vercel.app