Infrastructure and add removeListNeedsHelp to users

This commit is contained in:
2026-02-09 17:56:05 -05:00
parent be3ee9096b
commit 63b19cb78a
9 changed files with 43 additions and 19 deletions
@@ -59,6 +59,14 @@ module Users
render json: @list
end
# POST /user/remove_list_needs_payment.json
def remove_needs_payment
@list = active_list
render json: json_alert('messages.no_active_list', list_active: false) and return unless @list.try(:id).to_s == params[:id]
@list.remove_needs_payment!
render json: @list
end
# POST /user/lists/:id/move_table.json?table_id=....
# used to move the table
# TODO wrap logic of actions