Skip to content

Commit

Permalink
fix: fix uncorrect args.
Browse files Browse the repository at this point in the history
  • Loading branch information
mo3et committed Jun 12, 2024
1 parent 4ac3f83 commit e5ce2f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/rpclient/chat/admin.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,6 @@ func (o *AdminClient) GetDefaultGroupID(ctx context.Context) ([]string, error) {
}

func (o *AdminClient) InvalidateToken(ctx context.Context, userID string) error {
_, err := o.client.InvalidateToken(ctx, &admin.InvalidateTokenReq{})
_, err := o.client.InvalidateToken(ctx, &admin.InvalidateTokenReq{UserID: userID})
return err
}

0 comments on commit e5ce2f7

Please sign in to comment.