Variable renaming in LengthOfResponse()

This commit is contained in:
smavros 2019-08-11 17:12:03 +02:00
parent 9ef00d6204
commit 15760f7d01

View file

@ -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
}
}