From e0dcf163ec874bc22d92424bde4e7f9e94530154 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 26 Mar 2023 18:07:08 -0400 Subject: [PATCH] spelling: database Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- src/Module/Api/Friendica/Photo/Update.php | 2 +- src/Module/Owa.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Module/Api/Friendica/Photo/Update.php b/src/Module/Api/Friendica/Photo/Update.php index c6bcadfa41..0eec5a3444 100644 --- a/src/Module/Api/Friendica/Photo/Update.php +++ b/src/Module/Api/Friendica/Photo/Update.php @@ -70,7 +70,7 @@ class Update extends BaseApi throw new HTTPException\BadRequestException('no albumname specified'); } - // check if photo is existing in databasei + // check if photo is existing in database if (!Photo::exists(['resource-id' => $photo_id, 'uid' => $uid, 'album' => $album])) { throw new HTTPException\BadRequestException('photo not available'); } diff --git a/src/Module/Owa.php b/src/Module/Owa.php index a3ff8d9838..8bbc9a916e 100644 --- a/src/Module/Owa.php +++ b/src/Module/Owa.php @@ -80,7 +80,7 @@ class Owa extends BaseModule $ret['success'] = true; $token = Strings::getRandomHex(32); - // Store the generated token in the databe. + // Store the generated token in the database. OpenWebAuthToken::create('owt', 0, $token, $contact['addr']); $result = ''; -- 2.39.5