[Sprint/GiddyGiraffe] (fix): shouldn't debit tokens if there's an ongoing boost
closes #515
1/3 discussions resolved
- Resolved by Marcelo Rivera
added 1 commit
- 55cdfed5 - (fix): checkExisting now takes the boost as parameter
added 1 commit
- 277b5dcd - (fix): checkExisting now takes the boost as parameter
closed
resolved all discussions
reopened
146 146 return Factory::response(array('status' => 'error', 'message' => ':guid must be passed in uri')); 147 147 } 148 148 149 - Developer
Minor thing, but spacing here?
289 291 ->setType(lcfirst($pages[0])) 290 292 ->setPriority(false); 291 293 294 if ($manager->checkExisting($boost)) { 295 return Factory::response([ 296 'status' => 'error', 297 'message' => "There's already an ongoing boost for this entity" 298 ]); 299 } 300 - Developer
indentation is too far right here I think