<?php

namespace App\Http\Controllers\KeyValuePairs;


use App\Classes\Modules\KeyValuePairs\ControllersLogic\UpdateChatGPTPromptKVPLogic;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

class UpdateChatGPTPromptKVPController
{
    /**
     * @param Request $request
     * @param UpdateChatGPTPromptKVPLogic $logic
     * @return JsonResponse
     */
    public function update(Request $request, UpdateChatGPTPromptKVPLogic $logic): JsonResponse
    {
        return $logic->execute($request);
    }
}
