1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-28 09:21:13 -05:00

add the next todo

This commit is contained in:
Michael Jerger 2024-01-12 18:12:22 +01:00
parent 7d30d14c76
commit 40ec049013

View file

@ -218,6 +218,8 @@ func createFederationInfo(ctx *context.APIContext, actorID forgefed.ActorID) (fo
if err != nil {
return forgefed.FederationInfo{}, err
}
// TODO: introduce a NewFederationInfo factory method here.
// it should convert host to lower-case.
result := forgefed.FederationInfo{
HostFqdn: actorID.Host,
NodeInfo: nodeInfo,