<?php

namespace App\Domains\Admin\Controllers;

use App\Scopes\CommonController;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

class TenantImpressGetController extends CommonController
{
    public function __invoke(Request $request): JsonResponse
    {
        return response()->json([
            'impress_text' => $this->tenant->impress_text ?? '',
            'saveEndpoint' => '/api/v1/admin/tenant/impress',
        ]);
    }
}
