Skip to content
This repository was archived by the owner on Jan 25, 2023. It is now read-only.

Commit 45edc3f

Browse files
author
julian dondero
committed
pass data in serializer config
1 parent 3136774 commit 45edc3f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ export class JSONAPISerializer {
554554
} = request;
555555
return this._serialize({
556556
data,
557-
config: this.serializerConfig(),
557+
config: this.serializerConfig(data),
558558
meta,
559559
lang,
560560
includeWhitelistKeys,

0 commit comments

Comments
 (0)