Skip to content

Commit dd115f6

Browse files
committed
minor refactor
1 parent bca5d7b commit dd115f6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

modules/accredited_representative_portal/app/controllers/accredited_representative_portal/v0/power_of_attorney_requests_controller.rb

+2-3
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,8 @@ def index
3737
MSG
3838
end
3939

40-
poa_requests = relation
41-
.includes(scope_includes)
42-
.paginate(page: page_params[:number], per_page: page_params[:size])
40+
poa_requests = relation.includes(scope_includes)
41+
.paginate(page: page_params[:number], per_page: page_params[:size])
4342

4443
# Add pagination headers for API clients
4544
response.headers['X-Total'] = poa_requests.total_entries.to_s

0 commit comments

Comments
 (0)