193 hotfix
This commit is contained in:
+2
-2
@@ -57,7 +57,7 @@
|
|||||||
|
|
||||||
//variables.framework.docs={};
|
//variables.framework.docs={};
|
||||||
variables.framework.docs.APIName="svc-api";
|
variables.framework.docs.APIName="svc-api";
|
||||||
variables.framework.docs.APIVersion="0.192"; /*$ git config --global --unset user.password*/
|
variables.framework.docs.APIVersion="0.193"; /*$ git config --global --unset user.password*/
|
||||||
|
|
||||||
variables.framework.globalHeaders = structNew();
|
variables.framework.globalHeaders = structNew();
|
||||||
variables.framework.globalHeaders["Access-Control-Expose-Headers"] = "Location";
|
variables.framework.globalHeaders["Access-Control-Expose-Headers"] = "Location";
|
||||||
@@ -295,7 +295,7 @@
|
|||||||
|
|
||||||
var usrCustomerInfo=getUsrCustomerInfo(idpUserData.userInfo.contactId, idpUserData.userInfo.companyId);
|
var usrCustomerInfo=getUsrCustomerInfo(idpUserData.userInfo.contactId, idpUserData.userInfo.companyId);
|
||||||
|
|
||||||
dump(idpUserData);dump(usrCustomerInfo);abort;
|
//dump(idpUserData);dump(usrCustomerInfo);abort;
|
||||||
|
|
||||||
if (lCase(arguments.cfc) EQ 'user') {
|
if (lCase(arguments.cfc) EQ 'user') {
|
||||||
if (structIsEmpty(usrCustomerInfo)) return representationOf("User information not found").withStatus(404);
|
if (structIsEmpty(usrCustomerInfo)) return representationOf("User information not found").withStatus(404);
|
||||||
|
|||||||
Reference in New Issue
Block a user