From 4ac3f83f40391349db4d5bc2f31febddbc767f62 Mon Sep 17 00:00:00 2001 From: Monet Lee Date: Wed, 12 Jun 2024 16:00:39 +0800 Subject: [PATCH] fix: define corrected code. --- pkg/eerrs/predefine.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/eerrs/predefine.go b/pkg/eerrs/predefine.go index 98c1c1f3..2297a663 100644 --- a/pkg/eerrs/predefine.go +++ b/pkg/eerrs/predefine.go @@ -31,5 +31,6 @@ var ( ErrForbidden = errs.NewCodeError(20012, "Forbidden") ErrRefuseFriend = errs.NewCodeError(20013, "RefuseFriend") ErrEmailAlreadyRegister = errs.NewCodeError(20014, "EmailAlreadyRegister") - ErrTokenNotExist = errs.NewCodeError(20015, "ErrTokenNotExist") + + ErrTokenNotExist = errs.NewCodeError(20101, "ErrTokenNotExist") )