We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2221568 commit a506b71Copy full SHA for a506b71
packages/server/src/api/rpc/index.ts
@@ -83,7 +83,7 @@ export class RPCApiHandler<Schema extends SchemaDef> implements ApiHandler<Schem
83
case 'updateMany':
84
case 'updateManyAndReturn':
85
if (method !== 'PUT' && method !== 'PATCH') {
86
- return this.makeBadInputErrorResponse('invalid request method, only PUT AND PATCH are supported');
+ return this.makeBadInputErrorResponse('invalid request method, only PUT or PATCH are supported');
87
}
88
if (!requestBody) {
89
return this.makeBadInputErrorResponse('missing request body');
0 commit comments