Log for anime image changes
This commit is contained in:
parent
ff7db4202b
commit
7f5f58d60d
@ -41,5 +41,9 @@ func AnimeImage(ctx *aero.Context) string {
|
||||
// Save image information
|
||||
anime.Save()
|
||||
|
||||
// Write log entry
|
||||
logEntry := arn.NewEditLogEntry(user.ID, "edit", "Anime", anime.ID, "Image", "", "")
|
||||
logEntry.Save()
|
||||
|
||||
return "ok"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user