From 298d28af517dcbc4220133985de6a8350d33b40b Mon Sep 17 00:00:00 2001 From: Yamagishi Kazutoshi Date: Sat, 29 Apr 2017 00:53:37 +0900 Subject: [PATCH] Fix API for Mastodon version (#2590) Fix #2589 --- app/views/api/v1/instances/show.rabl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/api/v1/instances/show.rabl b/app/views/api/v1/instances/show.rabl index 8ab3fe0caeb..313aabb0b9c 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 }