Skip to content

Commit 83a426c

Browse files
committed
Add token ID to response in Create method of PatController
Signed-off-by: Rafi <refaei.shikho@hotmail.com>
1 parent c908318 commit 83a426c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

internal/core/pat/pat_controller.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ func (p *PatController) Create(c core.Context) error {
6464
"pubKey": patStruct.PubKey,
6565
"fingerprint": patStruct.Fingerprint,
6666
"scopes": patStruct.Scopes,
67+
"id": patStruct.ID.String(),
6768
})
6869
}
6970

0 commit comments

Comments
 (0)