mirror of
https://github.com/aclindsa/moneygo.git
synced 2025-07-03 04:38:38 -04:00
Move to a consistent way of handling IDs in URLs
This commit is contained in:
@ -207,7 +207,7 @@ func UserHandler(r *http.Request, context *Context) ResponseWriterWriter {
|
||||
return NewError(1 /*Not Signed In*/)
|
||||
}
|
||||
|
||||
userid, err := GetURLID(r.URL.Path)
|
||||
userid, err := context.NextID()
|
||||
if err != nil {
|
||||
return NewError(3 /*Invalid Request*/)
|
||||
}
|
||||
|
Reference in New Issue
Block a user