mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-12 09:17:27 +02:00
[#38] added lint and used the lint suggestions
This commit is contained in:
1 parent
dfd9528847
commit
d64fbf9011
36 files changed
+110
-65
No files matched your search
@@ -148,7 +148,7 @@ func TestUserPasswordResetConfirmSubmit(t *testing.T) {
|
||||
}
|
||||
|
||||
claims, _ := security.ParseUnverifiedJWT(form.Token)
|
||||
tokenUserId, _ := claims["id"]
|
||||
tokenUserId := claims["id"]
|
||||
|
||||
if user.Id != tokenUserId {
|
||||
t.Errorf("(%d) Expected user with id %s, got %v", i, tokenUserId, user)
|
||||
|
||||
Reference in new issue
Block a user