Fix login issue

This commit is contained in:
Charles Bochet
2023-08-05 09:42:31 -07:00
parent 1bf44e0188
commit 2d5ad60aeb

View File

@ -141,7 +141,7 @@ export class UserResolver {
} }
@ResolveField(() => String, { @ResolveField(() => String, {
nullable: false, nullable: true,
}) })
supportUserHash(@Parent() parent: User): string | null { supportUserHash(@Parent() parent: User): string | null {
if (this.environmentService.getSupportDriver() !== SupportDriver.Front) { if (this.environmentService.getSupportDriver() !== SupportDriver.Front) {