mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-27 11:41:09 -04:00
build version 400
This commit is contained in:
23
app/Http/Controllers/V1/Backup/ApiController.php
Normal file
23
app/Http/Controllers/V1/Backup/ApiController.php
Normal file
@ -0,0 +1,23 @@
|
||||
<?php
|
||||
// Implementation taken from nova-backup-tool - https://github.com/spatie/nova-backup-tool/
|
||||
|
||||
namespace Crater\Http\Controllers\V1\Backup;
|
||||
|
||||
use Crater\Http\Controllers\Controller;
|
||||
use Illuminate\Http\JsonResponse;
|
||||
|
||||
class ApiController extends Controller
|
||||
{
|
||||
/**
|
||||
*
|
||||
* @return JsonResponse
|
||||
*/
|
||||
|
||||
public function respondSuccess(): JsonResponse
|
||||
{
|
||||
return response()->json([
|
||||
'success' => true
|
||||
]);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user