Fix typo in database whitelist DDL

This commit is contained in:
enaix 2025-01-16 14:05:31 +03:00
parent b2ecd5648c
commit a7457d316b
2 changed files with 3 additions and 1 deletions

View file

@ -114,7 +114,8 @@ func NewInternalAPI(
if err != nil {
logrus.WithError(err).Panic("failed to clear whitelisted servers")
}
// Add each whitelisted server to the database
// Add each whitelisted server to the data
for _, server := range cfg.WhitelistedServers {
err = stats.DB.AddServerToWhitelist(server)
if err != nil {