Skip to content
Next
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Minds Backend - Engine
Project
Project
Details
Activity
Releases
Dependency List
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
173
Issues
173
List
Boards
Labels
Service Desk
Milestones
Merge Requests
43
Merge Requests
43
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
List
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Backend - Engine
Commits
843b09fc
Commit
843b09fc
authored
1 hour ago
by
Marcelo Rivera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(fix): should return 'entities' vs 'boosts'
parent
d3ebab5d
goal/boost-campaigns-e24
1 merge request
!235
WIP: Boost Campaigns (&24)
Pipeline
#72275356
passed with stages
in 12 minutes and 12 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
feed.php
Controllers/api/v2/boost/feed.php
+1
-1
campaigns.php
Controllers/api/v2/boost/fetch/campaigns.php
+2
-2
No files found.
Controllers/api/v2/boost/feed.php
View file @
843b09fc
...
...
@@ -35,7 +35,7 @@ class feed implements Interfaces\Api
if
(
$currentUser
->
disabled_boost
&&
$currentUser
->
isPlus
())
{
return
Factory
::
response
([
'
boost
s'
=>
[],
'
entitie
s'
=>
[],
]);
}
...
...
This diff is collapsed.
Click to expand it.
Controllers/api/v2/boost/fetch/campaigns.php
View file @
843b09fc
...
...
@@ -30,7 +30,7 @@ class campaigns implements Interfaces\Api
if
(
$currentUser
->
disabled_boost
&&
$currentUser
->
isPlus
())
{
return
Factory
::
response
([
'
boost
s'
=>
[],
'
entitie
s'
=>
[],
]);
}
...
...
@@ -125,7 +125,7 @@ class campaigns implements Interfaces\Api
}
return
Factory
::
response
([
'
boost
s'
=>
Exportable
::
_
(
$data
),
'
entitie
s'
=>
Exportable
::
_
(
$data
),
'load-next'
=>
$offset
?:
null
,
]);
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment