Skip to content
Snippets Groups Projects
Commit 9cac8729 authored by luna's avatar luna :basketball:
Browse files

update nodeinfo version when requesting 2.1

parent 1cdcee89
Branches
No related tags found
No related merge requests found
......@@ -168,7 +168,10 @@ defmodule Pleroma.Web.Nodeinfo.NodeinfoController do
|> Map.get(:software)
|> Map.put(:repository, Pleroma.Application.repository())
response = raw_response |> Map.put(:software, updated_software)
response =
raw_response
|> Map.put(:software, updated_software)
|> Map.put(:version, "2.1")
conn
|> put_resp_header(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment