There's no need to encode json in the Router.

This commit is contained in:
marco
2015-08-17 12:44:53 +02:00
parent 48f6ff4b91
commit 9db0db83b1

View File

@@ -25,7 +25,7 @@ class Router {
$method = $_POST['method'];
$args = $_POST['args'];
$endpoint = new $endpoint();
$endpoint->$method(json_encode($args));
$endpoint->$method($args);
}
function setToken() {