fix: rubocop warning removed

This commit is contained in:
Aaro Koivukangas
2023-11-13 16:58:13 +02:00
parent 9c7891e11c
commit 64b726bf04
+1 -1
View File
@@ -5,7 +5,7 @@ class BeermappingApi
places = response.parsed_response["bmp_locations"]["location"]
return [] if places.is_a?(Hash) and places["id"].nil?
return [] if places.is_a?(Hash) && places["id"].nil?
places = [places] if places.is_a?(Hash)
places.map do |place|