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:
@@ -576,7 +576,7 @@ class WebApplication
|
||||
}
|
||||
|
||||
return (isset($arrayConfig["api"]["version"]))? $arrayConfig["api"]["version"] : "1.0";
|
||||
} catch (Exception $e) {
|
||||
} catch (\Exception $e) {
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user