diff --git a/v1/Application.cfc b/v1/Application.cfc index 0f89d72..fb9218b 100644 --- a/v1/Application.cfc +++ b/v1/Application.cfc @@ -57,7 +57,7 @@ //variables.framework.docs={}; variables.framework.docs.APIName="svc-api"; - variables.framework.docs.APIVersion="0.211"; /*$ git config --global --unset user.password*/ + variables.framework.docs.APIVersion="0.212"; /*$ git config --global --unset user.password*/ variables.framework.globalHeaders = structNew(); variables.framework.globalHeaders["Access-Control-Expose-Headers"] = "Location"; @@ -288,7 +288,7 @@ var usrCustomerInfo=getUsrCustomerInfo(idpUserData.userInfo.contactId, idpUserData.userInfo.companyId); } catch (e) { - return representationOf( {"exception.Message"=e.Message, "exception.Detail"=e.Detail, "idpResponse"=result} ); + return representationOf( {"exception.Message"=e.Message, "exception.Detail"=e.Detail, "idpResponse"=result} ).withStatus(422); } //dump(idpUserData);dump(usrCustomerInfo);abort; @@ -458,7 +458,7 @@ - select u.usr_id, u.contragent_id, k.contragent_id as c_contragent_id, + select u.usr_id, u.contragent_id, k.contragent_id as c_contragent_id from usr u left outer join contragent k on (u.contragent_id=k.contragent_id) where u.idp_usr_uid=