Skip to content

Commit

Permalink
fix: add handle for reader query
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <[email protected]>
  • Loading branch information
Innei committed Sep 2, 2024
1 parent c7fdb43 commit 02c213a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion apps/core/src/modules/activity/activity.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export class ActivityController {
'identity',
),

readers: keyBy(readers, '_id'),
readers: keyBy(readers, 'id'),
}
}

Expand Down
1 change: 1 addition & 0 deletions apps/core/src/modules/reader/reader.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export class ReaderService {
isOwner: 1,
image: 1,
name: 1,
handle: 1,
account: {
_id: 1,
type: 1,
Expand Down
1 change: 1 addition & 0 deletions packages/api-client/models/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ export interface AuthUser {
image: string
name: string
provider: string
handle: string
}

0 comments on commit 02c213a

Please sign in to comment.