commit a686130ea12783e312ac1dae532ae612ae2b1e0b
parent 0d7be6b2044725541da62e46e5c374b46c95e516
Author: MTRNord <mtrnord1@gmail.com>
Date: Wed, 18 Mar 2015 19:19:19 +0100
fix Api
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/api/v1/api.php b/core/api/v1/api.php
@@ -209,7 +209,7 @@ $app->get('/tasks', 'authenticate', function() {
* params - name
* url - /addpost/
*/
-$app->addPost('/addpost', 'authenticate', function() use ($app) {
+$app->Post('/addpost', 'authenticate', function() use ($app) {
// check for required params
verifyRequiredParams(array('task'));