Skip to content

Commit

Permalink
Merge pull request #98 from assistants-hub/93_store
Browse files Browse the repository at this point in the history
#93 Fixing the avatar on the listing card
  • Loading branch information
santthosh authored Jun 28, 2024
2 parents 0e12b90 + 8a7cf81 commit 2769d95
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 2769d95

Please sign in to comment.