about summary refs log tree commit diff
diff options
context:
space:
mode:
-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 }