Skip to content

Commit

Permalink
attempt to fix pipe
Browse files Browse the repository at this point in the history
  • Loading branch information
GunnlaugurG committed Oct 11, 2024
1 parent e33a3ff commit 55f8ebe
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export class DelegationAdminController {
res.toNationalId ?? 'Unknown'
}, fromNationalId: ${
res.fromNationalId ?? 'Unknown'
}, createdByNationalId: ${res.createdByNationalId ?? 'Unknown'}`
}, createdByNationalId: ${res.createdBy ?? 'Unknown'}`
},
meta: {
id,
Expand Down
4 changes: 2 additions & 2 deletions libs/auth-api-lib/src/lib/delegations/dto/delegation.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ export class DelegationDTO {

@IsString()
@ApiPropertyOptional({ nullable: true, type: String })
createdByNationalId?: string | null
createdBy?: string | null

// This property is only used in delegation index
rights?: PersonalRepresentativeRightTypeDTO[]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export class Delegation extends Model<
fromNationalId: this.fromNationalId,
toNationalId: this.toNationalId,
toName: this.toName,
createdByNationalId: this.createdByNationalId,
createdBy: this.createdByNationalId,
validTo: this.validTo,
scopes: this.delegationScopes
? this.delegationScopes.map((scope) => scope.toDTO())
Expand Down

0 comments on commit 55f8ebe

Please sign in to comment.