Merge pull request #1610 from TorstenDittmann/fix-some-bugs
fix(app): minor bugs
This commit is contained in:
commit
9c8fe347b7
|
@ -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,
|
||||
],
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue