14 lines
226 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()
settings.NotificationEmail = user.Email
settings.Save()
}
}