Skip to content

Commit

Permalink
🏷️ createCallLogForPhonenumber can return null if no entity found
Browse files Browse the repository at this point in the history
Co-Authored-By: Leona Kuse <[email protected]>
  • Loading branch information
BokaTano and LemonaOna committed Oct 24, 2024
1 parent 7d259fe commit d58d4e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/adapter.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export interface Adapter {
createCallLogForPhoneNumber?: (
config: Config,
body: CallEvent,
) => Promise<LoggedIntegrationEntity>;
) => Promise<LoggedIntegrationEntity | null>;
getCallLogMetadata?: (config: Config) => Promise<IntegrationDefinedOptions>;
getEntity?: (
providerConfig: Config,
Expand Down

0 comments on commit d58d4e2

Please sign in to comment.