Skip to content

Commit 80e588f

Browse files
committed
refactor: fix linting errors and remove unused code
1 parent 570e715 commit 80e588f

7 files changed

Lines changed: 3 additions & 226 deletions

File tree

apps/api/src/oauth/providers/GoogleCalendarProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export class GoogleCalendarProvider extends OAuthProvider<
3030

3131
// Required implementations
3232
protected formatIntegrationName(user: GoogleUser): string {
33-
return user.email || user.name;
33+
return user.email || user.name || user.sub;
3434
}
3535

3636
protected formatUserMetadata(user: GoogleUser): Record<string, any> {

apps/api/src/oauth/providers/GoogleMailProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export class GoogleMailProvider extends OAuthProvider<GoogleToken, GoogleUser> {
2727

2828
// Required implementations
2929
protected formatIntegrationName(user: GoogleUser): string {
30-
return user.email || user.name;
30+
return user.email || user.name || user.sub;
3131
}
3232

3333
protected formatUserMetadata(user: GoogleUser): Record<string, any> {

apps/api/src/runtime/base-runtime.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -987,6 +987,7 @@ export class BaseRuntime extends WorkflowEntrypoint<Bindings, RuntimeParams> {
987987
return {
988988
nodeId: node.id,
989989
status: "skipped" as const,
990+
outputs: null,
990991
...skipInfo,
991992
};
992993
}

apps/web/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
"@radix-ui/react-dialog": "^1.1.15",
3434
"@radix-ui/react-dropdown-menu": "^2.1.16",
3535
"@radix-ui/react-label": "^2.1.4",
36-
"@radix-ui/react-popover": "^1.1.15",
3736
"@radix-ui/react-scroll-area": "^1.2.10",
3837
"@radix-ui/react-select": "^2.2.2",
3938
"@radix-ui/react-separator": "^1.1.4",

apps/web/src/components/ui/popover.tsx

Lines changed: 0 additions & 38 deletions
This file was deleted.

apps/web/src/components/workflow/input-edit-popover.tsx

Lines changed: 0 additions & 146 deletions
This file was deleted.

pnpm-lock.yaml

Lines changed: 0 additions & 39 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)