about summary refs log tree commit diff
path: root/app/views/api/v1
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2017-04-29 00:53:37 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-04-28 17:53:37 +0200
commit298d28af517dcbc4220133985de6a8350d33b40b (patch)
treebf9e4403fbab3b980dd0ae4a4592a8ee2d66c153 /app/views/api/v1
parent439b2dceda8191659a61fe556136813f0078a240 (diff)
Fix API for Mastodon version (#2590)
Fix #2589
Diffstat (limited to 'app/views/api/v1')
-rw-r--r--app/views/api/v1/instances/show.rabl2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/api/v1/instances/show.rabl b/app/views/api/v1/instances/show.rabl
index 8ab3fe0ca..313aabb0b 100644
--- a/app/views/api/v1/instances/show.rabl
+++ b/app/views/api/v1/instances/show.rabl
@@ -4,4 +4,4 @@ node(:uri)         { site_hostname }
 node(:title)       { Setting.site_title }
 node(:description) { Setting.site_description }
 node(:email)       { Setting.site_contact_email }
-node(:version)     { Mastodon::Version }
+node(:version)     { Mastodon::Version.to_s }