spelling: database
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
9fc26de628
commit
e0dcf163ec
|
@ -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');
|
||||
}
|
||||
|
|
|
@ -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 = '';
|
||||
|
|
Loading…
Reference in New Issue
Block a user