From a338f7296e1ccde9d7ee1cb7719092b99f829b23 Mon Sep 17 00:00:00 2001 From: Reinaldy Rafli Date: Sat, 17 Jul 2021 21:01:52 +0700 Subject: [PATCH] fix: typo --- api/app/v1/middleware/auth.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/app/v1/middleware/auth.go b/api/app/v1/middleware/auth.go index fc548f5..1c1157b 100644 --- a/api/app/v1/middleware/auth.go +++ b/api/app/v1/middleware/auth.go @@ -51,7 +51,7 @@ func RequireAuth() fiber.Handler { } if verify { - sql, args, err = psql.Update("administrator").Set("last_used", time.Now().UTC().Format(time.RFC3339)).ToSql() + sql, args, err = psql.Update("administrators").Set("last_used", time.Now().UTC().Format(time.RFC3339)).ToSql() if err != nil { return err }