Skip to content

Commit

Permalink
Merge pull request #449 from curveball/sh/newgroup-redirect-fix
Browse files Browse the repository at this point in the history
Fix href value on insertAndGetId
  • Loading branch information
ikbensiep authored Nov 10, 2022
2 parents 6cc9cff + 1e61c69 commit 23df2d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/principal/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ export async function save<T extends PrincipalType>(principal: BasePrincipal<T>|

return {
id: result,
href: `/${principal.type}/${result}`,
href: `/${principal.type}/${externalId}`,
externalId,
...principal
};
Expand Down

0 comments on commit 23df2d6

Please sign in to comment.