Skip to content

Commit 7d5cc18

Browse files
committed
PEER-250 Add comments to types
Signed-off-by: SeeuSim <[email protected]>
1 parent b73f713 commit 7d5cc18

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

backend/user/src/services/auth/types.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ export type ILoginPayload = {
1010
};
1111

1212
export type ILoginResponse = IServiceResponse<{
13+
// To be extracted by controller and set on the HTTP response
1314
cookie: string;
15+
// Payload for controller
1416
user: {
1517
id: string;
1618
username: string;

0 commit comments

Comments
 (0)