Update backend/src/graphql/resolver/UserResolver.ts

Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
This commit is contained in:
Alexander Friedland 2022-03-22 12:34:17 +01:00 committed by GitHub
parent 7929b93964
commit eda69bfc47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -371,7 +371,7 @@ export class UserResolver {
emailOptIn.verificationCode.toString(),
)
if (redeemCode !== '') {
if (redeemCode) {
activationLink += '/' + redeemCode
}