PM-1872 "The REST API is not handling versions" SOLVED

Issue:
    The REST API is not handling versions
Cause:
    No se esta verificando la version del API
Solution:
    Se agrego metodo para obtener y validar la version del API
This commit is contained in:
Victor Saisa Lopez
2015-04-01 16:52:52 -04:00
parent d72e49c5ee
commit 6a8ee66646

View File

@@ -576,7 +576,7 @@ class WebApplication
}
return (isset($arrayConfig["api"]["version"]))? $arrayConfig["api"]["version"] : "1.0";
} catch (Exception $e) {
} catch (\Exception $e) {
throw $e;
}
}