mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-02-10 14:50:17 +00:00
[bugfix] wrong nodeinfo version (tobi is a boob) (#3735)
This commit is contained in:
parent
07d2770995
commit
bfb81f5bac
|
@ -131,7 +131,7 @@ func (p *Processor) NodeInfoGet(ctx context.Context, schemaVersion string) (*api
|
||||||
Metadata: nodeInfoMetadata,
|
Metadata: nodeInfoMetadata,
|
||||||
}
|
}
|
||||||
|
|
||||||
if schemaVersion == "2.0" {
|
if schemaVersion == "2.1" {
|
||||||
nodeInfo.Software.Repository = nodeInfoRepo
|
nodeInfo.Software.Repository = nodeInfoRepo
|
||||||
nodeInfo.Software.Homepage = nodeInfoHomepage
|
nodeInfo.Software.Homepage = nodeInfoHomepage
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue