Skip to content
This repository was archived by the owner on Mar 1, 2026. It is now read-only.

Commit 0ae81fd

Browse files
committed
fix: get back the args ?? {} safety guard
1 parent 3042e7f commit 0ae81fd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ export class RPCApiHandler<Schema extends SchemaDef = SchemaDef> implements ApiH
221221
}
222222

223223
private async processRequestPayload(args: any) {
224-
const { meta, ...rest } = args;
224+
const { meta, ...rest } = args ?? {};
225225
if (meta?.serialization) {
226226
try {
227227
// superjson deserialization

0 commit comments

Comments
 (0)