Skip to content

Commit

Permalink
chore: Fix formatting (#9244)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dschoordsch authored Nov 29, 2023
1 parent 8f0e72f commit 275c404
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ const loginWithMicrosoft: MutationResolvers['loginWithMicrosoft'] = async (
if (existingUser) {
const {id: viewerId, identities, rol} = existingUser
let microsoftIdentity = identities.find(
(identity): identity is AuthIdentityMicrosoft => identity.type === AuthIdentityTypeEnum.MICROSOFT
(identity): identity is AuthIdentityMicrosoft =>
identity.type === AuthIdentityTypeEnum.MICROSOFT
)
if (!microsoftIdentity) {
const [bestIdentity] = identities
Expand Down

0 comments on commit 275c404

Please sign in to comment.