Skip to content

Commit

Permalink
refactor: return null instead of a promise
Browse files Browse the repository at this point in the history
  • Loading branch information
domw30 committed Oct 12, 2023
1 parent 7695546 commit dd42079
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/chat/sendbird-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export class SendbirdClient implements IChatClient {

async getUserPresence() {
console.warn('getUserPresence method is not implemented for SendbirdClient.');
return Promise.resolve(null);
return null;
}

async searchMyNetworksByName(filter: string): Promise<MemberNetworks[]> {
Expand Down

0 comments on commit dd42079

Please sign in to comment.