16 lines
241 B
Go
16 lines
241 B
Go
|
package main
|
||
|
|
||
|
import (
|
||
|
"github.com/animenotifier/notify.moe/arn"
|
||
|
)
|
||
|
|
||
|
func main() {
|
||
|
defer arn.Node.Close()
|
||
|
|
||
|
for user := range arn.StreamUsers() {
|
||
|
settings := user.Settings()
|
||
|
settings.SortBy = arn.SortByAiringDate
|
||
|
settings.Save()
|
||
|
}
|
||
|
}
|