Enable new integration auth for each new integration

This commit is contained in:
Tuan Dang
2024-01-07 12:49:59 +01:00
parent fef5369738
commit 5287b322d8
9 changed files with 132 additions and 51 deletions
@@ -126,6 +126,7 @@ const fetchWorkspaceAuthorization = async (workspaceId: string) => {
const { data } = await apiRequest.get<{ authorizations: IntegrationAuth[] }>(
`/api/v1/workspace/${workspaceId}/authorizations`
);
return data.authorizations;
};