mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-11-08 10:14:27 +00:00
add some todos
This commit is contained in:
parent
48c6d62e47
commit
0453598e3d
2 changed files with 3 additions and 1 deletions
|
|
@ -31,6 +31,7 @@ func GetFederationInfo(ctx context.Context, ID int64) (*FederationInfo, error) {
|
|||
|
||||
func FindFederationInfoByHostFqdn(ctx context.Context, fqdn string) (*FederationInfo, error) {
|
||||
info := new(FederationInfo)
|
||||
// TODO: use parameter with toLower
|
||||
has, err := db.GetEngine(ctx).Where("host_fqdn=?", fqdn).Get(info)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue