feat: Expose supportsOauthClients info for apps

This commit is contained in:
Faruk AYDIN
2024-12-16 16:13:34 +01:00
parent 3d62fabaac
commit d1de47788a
7 changed files with 29 additions and 1 deletions

View File

@@ -7,6 +7,7 @@ const getAppMock = (app) => {
name: app.name,
primaryColor: app.primaryColor,
supportsConnections: app.supportsConnections,
supportsOauthClients: app.auth.generateAuthUrl ? true : false,
},
meta: {
count: 1,

View File

@@ -6,6 +6,7 @@ const getAppsMock = (apps) => {
name: app.name,
primaryColor: app.primaryColor,
supportsConnections: app.supportsConnections,
supportsOauthClients: app?.auth?.generateAuthUrl ? true : false,
}));
return {