aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/lib/api.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/api.php b/engine/lib/api.php
index 8e176d737..c87b67b32 100644
--- a/engine/lib/api.php
+++ b/engine/lib/api.php
@@ -548,10 +548,10 @@
// The authentication token api
expose_function("auth.gettoken", "auth_gettoken", array(
"username" => array (
- 'string'
+ 'type' => 'string'
),
"password" => array (
- 'string'
+ 'type' => 'string'
)
), elgg_echo('auth.gettoken'), "GET", false, false);