From 3c9204f61a0d644bb516b429719806739462be87 Mon Sep 17 00:00:00 2001 From: iIronside Date: Fri, 20 Oct 2023 15:07:01 +0300 Subject: [PATCH] fix Semantical Error --- frontend/modules/api/controllers/UserController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/modules/api/controllers/UserController.php b/frontend/modules/api/controllers/UserController.php index 6e2d628..81dd374 100755 --- a/frontend/modules/api/controllers/UserController.php +++ b/frontend/modules/api/controllers/UserController.php @@ -144,7 +144,7 @@ class UserController extends ApiController * @OA\MediaType( * mediaType="application/x-www-form-urlencoded", * @OA\Schema( - * required={"password", newPassword}, + * required={"password", "newPassword"}, * @OA\Property( * property="password", * type="string",