Skip to content

Commit c3d909a

Browse files
authored
auth: fix panic
1 parent f4eab2e commit c3d909a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

auth.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ func Auth(update httprouter.Handle) httprouter.Handle {
2424
if err != nil {
2525
log.WithFields(log.Fields{"error": "json_error", "string": err.Error()}).Error("Decode error")
2626
} else {
27-
getPassFromRequest(r, &postData)
27+
getPassFromRequest(r, postData)
2828
}
2929
subdomain, err := getValidSubdomain(postData.Subdomain)
3030
if err != nil {

0 commit comments

Comments
 (0)