mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-27 03:31:09 -04:00
24 lines
455 B
PHP
24 lines
455 B
PHP
<?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
|
|
]);
|
|
}
|
|
|
|
}
|