Skip to content

Commit

Permalink
#93 Fixing the avatar on the listing card
Browse files Browse the repository at this point in the history
  • Loading branch information
santthosh committed Jun 28, 2024
1 parent 0be0d51 commit 8a7cf81
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/api/assistants/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export async function GET(req: NextRequest, res: NextResponse) {
select: {
id: true,
object: true,
avatar: true,
profile: true,
modelId: true,
published: true,
Expand All @@ -31,6 +32,8 @@ export async function GET(req: NextRequest, res: NextResponse) {
// @ts-ignore
assistant.object.published = assistant.published;
// @ts-ignore
assistant.object.avatar = assistant.avatar;
// @ts-ignore
assistant.object.authenticatedUsersOnly =
assistant.authenticatedUsersOnly;
}
Expand Down

0 comments on commit 8a7cf81

Please sign in to comment.