mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-22 16:16:34 +00:00
update nodeinfo version when requesting 2.1
This commit is contained in:
parent
1cdcee89da
commit
9cac8729af
1 changed files with 4 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue