mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-23 14:53:34 +01:00
add the next todo
This commit is contained in:
parent
7d30d14c76
commit
40ec049013
1 changed files with 2 additions and 0 deletions
|
@ -218,6 +218,8 @@ func createFederationInfo(ctx *context.APIContext, actorID forgefed.ActorID) (fo
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return forgefed.FederationInfo{}, err
|
return forgefed.FederationInfo{}, err
|
||||||
}
|
}
|
||||||
|
// TODO: introduce a NewFederationInfo factory method here.
|
||||||
|
// it should convert host to lower-case.
|
||||||
result := forgefed.FederationInfo{
|
result := forgefed.FederationInfo{
|
||||||
HostFqdn: actorID.Host,
|
HostFqdn: actorID.Host,
|
||||||
NodeInfo: nodeInfo,
|
NodeInfo: nodeInfo,
|
||||||
|
|
Loading…
Reference in a new issue