diff --git a/common/utilities.go b/common/utilities.go index a5a2bf9..43a2cb3 100644 --- a/common/utilities.go +++ b/common/utilities.go @@ -68,8 +68,8 @@ func LengthOfResponse(router *gin.Engine, token string, url string, // Get an arbitrary key from tha map. The only key (entry) of // course is the model's name. With that trick we do not have to // pass the higher level key as argument. - for arbitrary_tag := range arrayResponse { - return len(arrayResponse[arbitrary_tag]), nil + for arbitrary_key := range arrayResponse { + return len(arrayResponse[arbitrary_key]), nil } }