counter fixes
This commit is contained in:
@@ -202,8 +202,7 @@ class UserController < ApplicationController
|
||||
render json: json_response(list_active: false)
|
||||
return
|
||||
else
|
||||
list_obj = list.as_json.merge(list_active: list.active? ).merge(list.join_requests_as_json)
|
||||
render json: json_response(list_obj)
|
||||
render json: json_response(list.serialized_with_status_join_requests_and_supplier_counters)
|
||||
end
|
||||
else
|
||||
render json: json_response(not_present: true)
|
||||
|
||||
Reference in New Issue
Block a user