Skip to content

Commit 70e4c52

Browse files
committed
Fix SpaceUsageSummaryPresenter initialization
1 parent d062963 commit 70e4c52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/v3/spaces_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ def show_usage_summary
217217
space_not_found! unless space
218218
space_not_found! unless permission_queryer.can_read_from_space?(space.id, space.organization_id)
219219

220-
render status: :ok, json: Presenters::V3::SpaceUsageSummaryPresenter.new(space.org)
220+
render status: :ok, json: Presenters::V3::SpaceUsageSummaryPresenter.new(space)
221221
end
222222

223223
private

0 commit comments

Comments
 (0)