mirror of
https://github.com/notherealmarco/WASAPhoto.git
synced 2025-05-06 04:42:36 +02:00
Add stream search, offset & limit, improved bans
This commit is contained in:
parent
72f11a2b15
commit
963e392cea
14 changed files with 298 additions and 65 deletions
|
@ -34,7 +34,7 @@ func (rt *_router) GetComments(w http.ResponseWriter, r *http.Request, ps httpro
|
|||
}
|
||||
|
||||
// get the user's comments
|
||||
success, comments, err := rt.db.GetComments(uid, photo_id)
|
||||
success, comments, err := rt.db.GetComments(uid, photo_id, ctx.Auth.GetUserID())
|
||||
|
||||
if err != nil {
|
||||
helpers.SendInternalError(err, "Database error: GetComments", w, rt.baseLogger)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue