mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Fix subscription JSON response
This commit is contained in:
parent
3ec1b90649
commit
7e80f4de2e
@ -38,6 +38,6 @@ class IntegrationController extends Controller
|
||||
return Response::json('Failed to create subscription', 500);
|
||||
}
|
||||
|
||||
return Response::json('{"id":'.$subscription->id.'}', 201);
|
||||
return Response::json(['id' => $subscription->id], 201);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user