Fix TS errors and weird instances of undefined error due to prisma upgrade and turbo cache (#3475)

* Fix TS errors

* Always reexecute prisma postinstall as prisma version might change after yarn
This commit is contained in:
Hariom Balhara authored and GitHub committed 2022-07-21 09:59:37 +00:00
1 parent c500952dca
commit faac59fb8e
2 files changed
+4 -1

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ export function handleErrorsJson(response: Response) {
export function handleErrorsRaw(response: Response) {
if (response.status === 204) {
return {};
return "{}";
}
if (!response.ok && response.status < 200 && response.status >= 300) {
response.text().then(console.log);