From fba68a9d315cc603671b08073ba9c0a2074efd34 Mon Sep 17 00:00:00 2001 From: Monet Lee Date: Sun, 29 Sep 2024 15:49:31 +0800 Subject: [PATCH] fix check (#146) * Update relation.proto to use openim.sdkws.BlackInfo for getIncrementalBlacksResp and add GetSpecifiedBlacksReq and GetSpecifiedBlacksResp * feat: GetSpecifiedUserGroupRequestInfo * remove unused fields. * update * Update constants. * update fields. * update const * update * update. * update token * fix check. --- auth/auth.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth/auth.go b/auth/auth.go index 61f52259..79579ef1 100644 --- a/auth/auth.go +++ b/auth/auth.go @@ -20,7 +20,7 @@ import ( "github.com/openimsdk/protocol/constant" ) -func (x *UserTokenReq) Check() error { +func (x *GetAdminTokenReq) Check() error { if x.UserID == "" { return errors.New("userID is empty") }