Merge branch 'develop'

This commit is contained in:
x.yumoto.k 2023-11-02 16:21:49 +09:00
commit 0326a1cf79

View File

@ -197,7 +197,10 @@ export class AdB2cService {
}
// キャッシュ上に存在していなければ、ADB2Cから取得してキャッシュに保存する
const user = await this.graphClient.api(`users/${externalId}`).get();
const user = await this.graphClient
.api(`users/${externalId}`)
.select(['id', 'displayName', 'identities'])
.get();
await this.redisService.set(key, user, this.ttl);
this.logger.log(`[ADB2C GET] externalId: ${externalId}`);