Skip to content

Commit

Permalink
update field.
Browse files Browse the repository at this point in the history
  • Loading branch information
mo3et committed Aug 2, 2024
1 parent e41dcb7 commit d38ea02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/rpc/admin/token.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"github.com/redis/go-redis/v9"
)

func (o *adminServer) CreateToken(ctx context.Context, req *admin.CreateTokenReq) (*admin.CreateTokenResp, error) {
func (o *adminServer) CreateToken(ctx context.Context, req *adminpb.CreateTokenReq) (*adminpb.CreateTokenResp, error) {
token, expire, err := o.Token.CreateToken(req.UserID, req.UserType)

if err != nil {
Expand Down

0 comments on commit d38ea02

Please sign in to comment.