commit e1ce2a1361a719e664d3fd718acb2c1587ac3d80
parent db6aca0f7d8180b1f571cd7951ee56892a51684d
Author: MTRNord <mtrnord1@gmail.com>
Date: Tue, 3 Feb 2015 07:09:06 +0100
Api still not working
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/core/api/v1/api.php b/core/api/v1/api.php
@@ -82,7 +82,7 @@ function echoRespnse($status_code, $response) {
echo json_encode($response);
}
-$app->run();
+
/**
* User Registration
* url - /register
@@ -197,5 +197,6 @@ function authenticate(\Slim\Route $route) {
echoRespnse(400, $response);
$app->stop();
}
+$app->run();
}
?>
\ No newline at end of file