14 lines
227 B
Go
Raw Normal View History

2017-11-20 15:37:39 +00:00
package main
import "github.com/animenotifier/arn"
func main() {
defer arn.Node.Close()
for user := range arn.StreamUsers() {
settings := user.Settings()
2018-03-15 22:41:13 +00:00
settings.Notification.Email = user.Email
2017-11-20 15:37:39 +00:00
settings.Save()
}
}