Added role change patch
This commit is contained in:
parent
78c2172385
commit
a2cefcb516
13
patches/change-role/change-role.go
Normal file
13
patches/change-role/change-role.go
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"github.com/animenotifier/arn"
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
defer arn.Node.Close()
|
||||||
|
|
||||||
|
user, _ := arn.GetUser("Vy2Hk5yvx")
|
||||||
|
user.Role = ""
|
||||||
|
user.Save()
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user