Add stream search, offset & limit, improved bans

This commit is contained in:
Marco Realacci 2022-11-22 15:17:08 +01:00
parent 72f11a2b15
commit 963e392cea
14 changed files with 298 additions and 65 deletions

View file

@ -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)