Skip to content

Commit

Permalink
Remove type from body destruc
Browse files Browse the repository at this point in the history
  • Loading branch information
arcataroger authored Oct 29, 2024
1 parent 8057603 commit f17465b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rest-client-utils/src/serialize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export function serializeRequestBody<T extends { data: unknown } | null>(
} as unknown as T;
}

const { id, type, meta, ...otherProperties } = body as any;
const { id, meta, ...otherProperties } = body as any;

const attributes: Record<string, unknown> = {};
const relationships: Record<string, unknown> = {};
Expand Down

0 comments on commit f17465b

Please sign in to comment.