Simplify version and fix typo

This commit is contained in:
Dashie 2018-05-02 22:44:13 +02:00
parent b8789cc8b6
commit fd0bf3aa71
No known key found for this signature in database
GPG key ID: C2D57B325840B755

View file

@ -26,7 +26,7 @@ def nodeinfo(conn, %{"version" => "2.0"}) do
version: "2.0",
software: %{
name: "pleroma",
version: "#{Keyword.get(@instance, :version)})"
version: Keyword.get(@instance, :version)
},
protocols: ["ostatus", "activitypub"],
services: %{