14 lines
238 B
Go
Raw Normal View History

2017-11-20 15:37:39 +00:00
package main
2019-06-03 09:32:43 +00:00
import "github.com/animenotifier/notify.moe/arn"
2017-11-20 15:37:39 +00:00
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()
}
}