File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ func ExtractUserParam(db database.Store) func(http.Handler) http.Handler {
34
34
userQuery := chi .URLParam (r , "user" )
35
35
if userQuery == "" {
36
36
httpapi .Write (rw , http .StatusBadRequest , httpapi.Response {
37
- Message : fmt . Sprintf ( "%q must be provided", "user" ) ,
37
+ Message : " \" user \" must be provided" ,
38
38
})
39
39
return
40
40
}
@@ -67,7 +67,7 @@ func ExtractUserParam(db database.Store) func(http.Handler) http.Handler {
67
67
// the user exists or not. Just lump all these errors into
68
68
// something generic.
69
69
httpapi .Write (rw , http .StatusBadRequest , httpapi.Response {
70
- Message : fmt . Sprint ( "\" user\" must be a uuid or username" ) ,
70
+ Message : "\" user\" must be a uuid or username" ,
71
71
})
72
72
return
73
73
}
You can’t perform that action at this time.
0 commit comments