1
0
Fork 0
mirror of synced 2024-06-02 02:44:47 +12:00

fix(app): minor bugs

This commit is contained in:
Torsten Dittmann 2021-09-09 16:24:57 +02:00
parent 7a446cf14e
commit 9ff5fb91ac
3 changed files with 2 additions and 3 deletions

View file

@ -42,7 +42,6 @@ return [
'name' => 'Phone',
'key' => 'usersAuthPhone',
'icon' => '/images/users/phone.png',
'docs' => 'https://appwrite.io/docs/client/account?sdk=web#accountCreatePhoneSession',
'docs' => '',
'enabled' => false,
],

View file

@ -426,7 +426,7 @@ App::post('/v1/teams/:teamId/memberships')
}
$url = Template::parseURL($url);
$url['query'] = Template::mergeQuery(((isset($url['query'])) ? $url['query'] : ''), ['membershipId' => $membership->getId(), 'teamId' => $team->getId(), 'userId' => $invitee->getId(), 'secret' => $secret, 'teamId' => $teamId]);
$url['query'] = Template::mergeQuery(((isset($url['query'])) ? $url['query'] : ''), ['membershipId' => $membership->getId(), 'userId' => $invitee->getId(), 'secret' => $secret, 'teamId' => $teamId]);
$url = Template::unParseURL($url);
if (!$isPrivilegedUser && !$isAppUser) { // No need of confirmation when in admin or app mode

View file

@ -215,7 +215,7 @@ class DeletesV1 extends Worker
}
// Delete Dead Realtime Logs
$this->deleteByGroup([
'$collection='.Database::SYSTEM_COLLECTION_REALTIME_CONNECTIONS,
'$collection='.Database::SYSTEM_COLLECTION_CONNECTIONS,
'timestamp<'.$timestamp
], $consoleDB);