From 8972c4b20d560b0a7ebe486f0f3a2700d95a376a Mon Sep 17 00:00:00 2001 From: santhoshivan23 Date: Tue, 6 Jun 2023 21:57:34 +0530 Subject: [PATCH] format admin.go --- clientapi/routing/admin.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/clientapi/routing/admin.go b/clientapi/routing/admin.go index a0a307273..8accef535 100644 --- a/clientapi/routing/admin.go +++ b/clientapi/routing/admin.go @@ -114,8 +114,7 @@ func AdminCreateNewRegistrationToken(req *http.Request, cfg *config.ClientAPI, u } pending := 0 completed := 0 - // If usesAllowed or expiryTime is 0, it means they are not present in the request. NULL (indicating - // unlimited uses / no expiration will be persisted in DB) + // If usesAllowed or expiryTime is 0, it means they are not present in the request. NULL (indicating unlimited uses / no expiration will be persisted in DB) created, err := userAPI.PerformAdminCreateRegistrationToken(req.Context(), token, usesAllowed, expiryTime) if err != nil { return util.MatrixErrorResponse(