Add timestamp to subscription change response
This commit is contained in:
parent
12a33ac002
commit
52b6d8e8a2
@ -42,10 +42,12 @@ class SubscriptionChangeController extends Controller {
|
||||
* @NoAdminRequired
|
||||
* @NoCSRFRequired
|
||||
*
|
||||
* @return void
|
||||
* @return JSONResponse
|
||||
*/
|
||||
public function create($add, $remove) {
|
||||
public function create($add, $remove): JSONResponse {
|
||||
$this->subscriptionChangeSaver->saveSubscriptionChanges($add, $remove, $this->userId);
|
||||
|
||||
return new JSONResponse(["timestamp" => time()]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user