Skip to content

Commit 4b45c72

Browse files
florincmchriskacerguis
authored andcommitted
typo - example rate limit (chriskacerguis#703)
1 parent 51a0ffa commit 4b45c72

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

application/controllers/api/Example.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ function __construct()
2525

2626
// Configure limits on our controller methods
2727
// Ensure you have created the 'limits' table and enabled 'limits' within application/config/rest.php
28-
$this->methods['user_get']['limit'] = 500; // 500 requests per hour per user/key
29-
$this->methods['user_post']['limit'] = 100; // 100 requests per hour per user/key
30-
$this->methods['user_delete']['limit'] = 50; // 50 requests per hour per user/key
28+
$this->methods['users_get']['limit'] = 500; // 500 requests per hour per user/key
29+
$this->methods['users_post']['limit'] = 100; // 100 requests per hour per user/key
30+
$this->methods['users_delete']['limit'] = 50; // 50 requests per hour per user/key
3131
}
3232

3333
public function users_get()

0 commit comments

Comments
 (0)