Commit 843b09fc authored by Marcelo Rivera's avatar Marcelo Rivera

(fix): should return 'entities' vs 'boosts'

1 merge request!235WIP: Boost Campaigns (&24)
Pipeline #72275356 passed with stages
in 12 minutes and 12 seconds
......@@ -35,7 +35,7 @@ class feed implements Interfaces\Api
if ($currentUser->disabled_boost && $currentUser->isPlus()) {
return Factory::response([
'boosts' => [],
'entities' => [],
]);
}
......
......@@ -30,7 +30,7 @@ class campaigns implements Interfaces\Api
if ($currentUser->disabled_boost && $currentUser->isPlus()) {
return Factory::response([
'boosts' => [],
'entities' => [],
]);
}
......@@ -125,7 +125,7 @@ class campaigns implements Interfaces\Api
}
return Factory::response([
'boosts' => Exportable::_($data),
'entities' => Exportable::_($data),
'load-next' => $offset ?: null,
]);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment