Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mastodon::Version instead of real version number in /api/v1/instance #2589

Closed
agateblue opened this issue Apr 28, 2017 · 0 comments
Closed

Comments

@agateblue
Copy link

#2181 included version data in the payload returned from /api/v1/instance. However, it seems there is an issue, because here is what I get if I query https://mastodon.social/api/v1/instance:

{
	"uri": "mastodon.social",
	"title": "Mastodon",
	"description": "",
	"email": "eugen@zeonfederated.com",
	"version": "Mastodon::Version"
}

As you can see, instead of 1.3.0, which is displayed on the About page, we get the cryptic Mastodon::Version. Maybe I'm missing something, but I don't think this is intended behaviour.

This also affect other instances, such as https://mastodon.cloud/api/v1/instance.

Gargron pushed a commit that referenced this issue Apr 28, 2017
tribela pushed a commit to tribela/mastodon that referenced this issue Jan 28, 2024
Port 3205a65 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant