spelling: database

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2023-03-26 18:07:08 -04:00
parent 9fc26de628
commit e0dcf163ec
2 changed files with 2 additions and 2 deletions

View file

@ -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');
}

View file

@ -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 = '';