1
0
Fork 0
mirror of synced 2024-05-19 12:12:36 +12:00

doc: Fix typos

This commit is contained in:
SaintMalik 2021-10-12 19:22:41 +01:00
parent 7650676006
commit 32e513012e
8 changed files with 12 additions and 12 deletions

View file

@ -118,7 +118,7 @@
- Fixed a bug in the Twitch OAuth adapter (#1209)
- Fixed missing session object when OAuth session creation event is triggered (#1208)
- Fixed bug where we didn't ignore the email case, converted all emails to lowercase internally (#1243)
- Fixed a console bug where you can't click a user with no name, added a placehoder for anonyomous users (#1220)
- Fixed a console bug where you can't click a user with no name, added a placeholder for anonyomous users (#1220)
- Fixed unique keys not being updated when changing a user's email address (#1301)
- Fixed a bug where decimal integers where wrongly used with database filters (#1349)

View file

@ -487,7 +487,7 @@ $server->onMessage(function (int $connection, string $message) use ($server, $re
*
* Abuse limits are sending 32 times per minute and connection.
*/
$timeLimit = new TimeLimit('url:{url},conection:{connection}', 32, 60, $db);
$timeLimit = new TimeLimit('url:{url},connection:{connection}', 32, 60, $db);
$timeLimit
->setNamespace('app_' . $realtime->connections[$connection]['projectId'])
->setParam('{connection}', $connection)

View file

@ -381,7 +381,7 @@ class FunctionsV1 extends Worker
}
}
if (isset($list[$container]) && !(\substr($list[$container]->getStatus(), 0, 2) === 'Up')) { // Remove conatiner if not online
if (isset($list[$container]) && !(\substr($list[$container]->getStatus(), 0, 2) === 'Up')) { // Remove container if not online
$stdout = '';
$stderr = '';
@ -403,7 +403,7 @@ class FunctionsV1 extends Worker
* Make sure no access to NFS server / storage volumes
* Access Appwrite REST from internal network for improved performance
*/
if (!isset($list[$container])) { // Create contianer if not ready
if (!isset($list[$container])) { // Create container if not ready
$stdout = '';
$stderr = '';

View file

@ -1 +1 @@
Use this endpoint to allow a user to accept an invitation to join a team after being redirected back to your app from the invitation email recieved by the user.
Use this endpoint to allow a user to accept an invitation to join a team after being redirected back to your app from the invitation email received by the user.

View file

@ -17,7 +17,7 @@
## 0.2.2
- Fixed an error that happend when the OAuth session creation request was sent before any other API call
- Fixed an error that happened when the OAuth session creation request was sent before any other API call
- Fixed a bug in the Avatars service where location URL generation had syntax error
## 0.2.1
@ -56,7 +56,7 @@
## 0.0.9
- Updated deafult params
- Updated default params
## 0.0.8

View file

@ -113,7 +113,7 @@
## 0.2.2
- Fixed an error that happend when the OAuth session creation request was sent before any other API call
- Fixed an error that happened when the OAuth session creation request was sent before any other API call
- Fixed a bug in the Avatars service where location URL generation had syntax error
## 0.2.1

View file

@ -26,5 +26,5 @@ echo $_ENV['APPWRITE_FUNCTION_RUNTIME_VERSION']."\n";
// echo $result['$id'];
echo $_ENV['APPWRITE_FUNCTION_EVENT']."\n";
echo $_ENV['APPWRITE_FUNCTION_EVENT_DATA']."\n";
// Test unknwon UTF-8 chars
// Test unknown UTF-8 chars
echo "\xEA\xE4\n";

View file

@ -22,13 +22,13 @@ class CollectionsTest extends TestCase
foreach ($this->collections as $key => $collection) {
if (array_key_exists('rules', $collection)) {
foreach ($collection['rules'] as $check) {
$occurences = 0;
$occurrences = 0;
foreach ($collection['rules'] as $rule) {
if ($rule['key'] == $check['key']) {
$occurences++;
$occurrences++;
}
}
$this->assertEquals(1, $occurences);
$this->assertEquals(1, $occurrences);
}
}
}