mirror of
https://github.com/formbricks/formbricks.git
synced 2025-12-29 09:50:10 -06:00
add product information to api/v1/me endpoint (#494)
This commit is contained in:
@@ -12,7 +12,21 @@ export async function GET() {
|
||||
hashedKey: hashApiKey(apiKey),
|
||||
},
|
||||
select: {
|
||||
environment: true,
|
||||
environment: {
|
||||
select: {
|
||||
id: true,
|
||||
createdAt: true,
|
||||
updatedAt: true,
|
||||
type: true,
|
||||
product: {
|
||||
select: {
|
||||
id: true,
|
||||
name: true,
|
||||
},
|
||||
},
|
||||
widgetSetupCompleted: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
if (!apiKeyData) {
|
||||
|
||||
Reference in New Issue
Block a user