Skip to content

Commit a506b71

Browse files
committed
update
1 parent 2221568 commit a506b71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/server/src/api/rpc/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export class RPCApiHandler<Schema extends SchemaDef> implements ApiHandler<Schem
8383
case 'updateMany':
8484
case 'updateManyAndReturn':
8585
if (method !== 'PUT' && method !== 'PATCH') {
86-
return this.makeBadInputErrorResponse('invalid request method, only PUT AND PATCH are supported');
86+
return this.makeBadInputErrorResponse('invalid request method, only PUT or PATCH are supported');
8787
}
8888
if (!requestBody) {
8989
return this.makeBadInputErrorResponse('missing request body');

0 commit comments

Comments
 (0)