We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 632ba87 commit ee6d037Copy full SHA for ee6d037
libs/json-api-nestjs/src/lib/mixin/service/transform/transform.mixin.ts
@@ -221,13 +221,13 @@ export class TransformMixinService<T> {
221
links: {
222
self: this.getLink(
223
urlTable,
224
- data[this.relationPrimaryField.get(itemRelation)],
+ data[this.relationPrimaryField.get(table)],
225
'relationships',
226
field
227
),
228
related: this.getLink(
229
230
231
232
233
},
0 commit comments