mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
API: Apply "golangci-lint" recommendations #5330
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -18,7 +18,7 @@ import (
|
||||
)
|
||||
|
||||
func TestOAuthRevoke(t *testing.T) {
|
||||
const tokenPath = "/api/v1/oauth/token"
|
||||
const tokenPath = "/api/v1/oauth/token" // #nosec G101 test constant, not a credential
|
||||
const revokePath = "/api/v1/oauth/revoke"
|
||||
|
||||
t.Run("ClientSuccessToken", func(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user