From 99d263e65c2dd72e5d4df5d87841ad0b80ad2f25 Mon Sep 17 00:00:00 2001 From: "aditya.siregar" Date: Thu, 15 Aug 2024 23:14:12 +0700 Subject: [PATCH] Update License --- internal/services/auth/init.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/internal/services/auth/init.go b/internal/services/auth/init.go index c80c320..6ab72fe 100644 --- a/internal/services/auth/init.go +++ b/internal/services/auth/init.go @@ -73,8 +73,7 @@ func (u *AuthServiceImpl) AuthenticateUser(ctx context.Context, email, password } licensePartner = partnerLicense.ToPartnerLicense() - if licensePartner.LicenseStatus == "EXPIRED" - || licensePartner.LicenseStatus == "INACTIVE" { + if licensePartner.LicenseStatus == "EXPIRED" || licensePartner.LicenseStatus == "INACTIVE" { return nil, errors.ErrorInvalidLicense } }