From ae20d03aece78fb44dc1caaacfa40c3aa40c7949 Mon Sep 17 00:00:00 2001 From: Joe Chen Date: Sun, 27 Nov 2022 19:36:10 +0800 Subject: refactor(db): migrate `UpdateUser` off `user.go` (#7267) --- internal/form/user.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/form') diff --git a/internal/form/user.go b/internal/form/user.go index 539dfd98..fee0569d 100644 --- a/internal/form/user.go +++ b/internal/form/user.go @@ -104,8 +104,8 @@ func (f *UpdateProfile) Validate(ctx *macaron.Context, errs binding.Errors) bind } const ( - AVATAR_LOCAL string = "local" - AVATAR_BYMAIL string = "bymail" + AvatarLocal string = "local" + AvatarLookup string = "lookup" ) type Avatar struct { -- cgit v1.2.3