213 empty lists repesented as empty arrays (lib/field, lib/rest_api_helper, instance_operation_default)
This commit is contained in:
+2
-2
@@ -57,7 +57,7 @@
|
||||
|
||||
//variables.framework.docs={};
|
||||
variables.framework.docs.APIName="svc-api";
|
||||
variables.framework.docs.APIVersion="0.212"; /*$ git config --global --unset user.password*/
|
||||
variables.framework.docs.APIVersion="0.213"; /*$ git config --global --unset user.password*/
|
||||
|
||||
variables.framework.globalHeaders = structNew();
|
||||
variables.framework.globalHeaders["Access-Control-Expose-Headers"] = "Location";
|
||||
@@ -427,7 +427,7 @@
|
||||
<cfargument name="contragentUid"/>
|
||||
|
||||
<cfif !isValid('guid',arguments.usrUid)>
|
||||
<cfthrow message="Invalid user uuid" detail="uuid=(#arguments.usrUid#) is not a valid UUID"/>
|
||||
<cfthrow message="Invalid user uuid" detail="uuid=(#arguments.usrUid#) is not a valid UUID"/><!--- тут спорно, можно было бы и 400 и 500, но исключения из этой функции не дифференцированы по типам --->
|
||||
</cfif>
|
||||
<cfif !isValid('guid',arguments.contragentUid)>
|
||||
<cfthrow message="Invalid contragent uuid" detail="uuid=(#arguments.contragentUid#) is not a valid UUID"/>
|
||||
|
||||
Reference in New Issue
Block a user