update: find mailbox id and name from any where

This commit is contained in:
mahyargdz
2025-07-12 12:13:26 +03:30
parent 24e315ff46
commit 352cdde13f
4 changed files with 114 additions and 32 deletions
@@ -29,9 +29,7 @@ export class MailboxResolverService {
*/
async getUserMailboxIds(userId: string): Promise<UserMailboxIds> {
const cached = this.getCachedMailboxIds(userId);
if (cached) {
return cached;
}
if (cached) return cached;
this.logger.log(`Fetching mailbox IDs for user: ${userId}`);