mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-28 04:01:10 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
		
			461 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			461 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| // Implementation taken from nova-backup-tool - https://github.com/spatie/nova-backup-tool/
 | |
| 
 | |
| namespace Crater\Http\Controllers\V1\Admin\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,
 | |
|         ]);
 | |
|     }
 | |
| }
 |