mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04: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('Failed to create subscription', 500);
|
||||||
}
|
}
|
||||||
|
|
||||||
return Response::json('{"id":'.$subscription->id.'}', 201);
|
return Response::json(['id' => $subscription->id], 201);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user