Skip to content

Commit bb39d6f

Browse files
[dev] [Marfuen] mariano/fix-google (#1985)
* fix(sync): enhance error logging for Google API response * fix(google-workspace): update domain scope to role management readonly --------- Co-authored-by: Mariano Fuentes <marfuen98@gmail.com>
1 parent 6389517 commit bb39d6f

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

apps/api/src/integration-platform/controllers/sync.controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ export class SyncController {
186186
}
187187
const errorText = await response.text();
188188
this.logger.error(
189-
`Google API error: ${response.status} ${response.statusText}`,
189+
`Google API error: ${response.status} ${response.statusText} - ${errorText}`,
190190
);
191191
throw new HttpException(
192192
'Failed to fetch users from Google Workspace',

apps/app/tailwind.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
import baseConfig from '@trycompai/ui/tailwind.config';
12
import type { Config } from 'tailwindcss';
2-
import baseConfig from '../../packages/ui/tailwind.config';
33

44
export default {
55
content: [

packages/integration-platform/src/manifests/google-workspace/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export const googleWorkspaceManifest: IntegrationManifest = {
1818
scopes: [
1919
'https://www.googleapis.com/auth/admin.directory.user.readonly',
2020
'https://www.googleapis.com/auth/admin.directory.orgunit.readonly',
21-
'https://www.googleapis.com/auth/admin.directory.domain.readonly',
21+
'https://www.googleapis.com/auth/admin.directory.rolemanagement.readonly',
2222
],
2323
pkce: false,
2424
clientAuthMethod: 'body',

0 commit comments

Comments
 (0)