summaryrefslogtreecommitdiff
path: root/bin/api
diff options
context:
space:
mode:
Diffstat (limited to 'bin/api')
-rwxr-xr-xbin/api2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/api b/bin/api
index 868d5754..e63c7138 100755
--- a/bin/api
+++ b/bin/api
@@ -49,7 +49,7 @@ class Entity
end
def [](attribute)
- @attributes.fetch(attribute)
+ @attributes.fetch(attribute.to_sym)
end
def to_h