From a5b289d290bcbb62a67651688a00f55babeab70e Mon Sep 17 00:00:00 2001 From: Neeraj Gupta <254676+ua741@users.noreply.github.com> Date: Tue, 27 Aug 2024 11:36:26 +0530 Subject: [PATCH] [server] Allow 200,1TB, & 2TB --- server/ente/admin.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/ente/admin.go b/server/ente/admin.go index 3990635324..0085ae95d8 100644 --- a/server/ente/admin.go +++ b/server/ente/admin.go @@ -116,8 +116,8 @@ func (u SupportUpdateBonus) Validate() error { return errors.New("invalid input, set in MB and minute for test") } } else { - if u.StorageInGB != 200 && u.StorageInGB != 2000 && u.StorageInGB != 500 { - return errors.New("invalid input for deal, only 100, 500, 2000 allowed") + if u.StorageInGB != 200 && u.StorageInGB != 2000 && u.StorageInGB != 1000 { + return errors.New("invalid input for deal, only 200, 1000, 2000 allowed") } if isSupportBonus { if u.Year == 0 || u.Year > 100 {