From 298d28af517dcbc4220133985de6a8350d33b40b Mon Sep 17 00:00:00 2001 From: Yamagishi Kazutoshi Date: Sat, 29 Apr 2017 00:53:37 +0900 Subject: Fix API for Mastodon version (#2590) Fix #2589 --- app/views/api/v1/instances/show.rabl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') 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 } -- cgit