Skip to content

Commit b67bdfc

Browse files
committed
🏷️ update returntype for getEntity
1 parent 1b29293 commit b67bdfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/models/adapter.model.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export interface Adapter {
5555
providerConfig: Config,
5656
id: string,
5757
type: IntegrationEntityType
58-
) => Promise<LabeledIntegrationEntity>;
58+
) => Promise<LabeledIntegrationEntity | null>;
5959
handleConnectedEvent?: (config: Config) => Promise<void>;
6060
getHealth?: () => Promise<void>;
6161
getOAuth2RedirectUrl?: (req?: Request, res?: Response) => Promise<string>;

0 commit comments

Comments
 (0)