Log for anime image changes

This commit is contained in:
Eduard Urbach 2018-03-16 22:53:13 +01:00
parent ff7db4202b
commit 7f5f58d60d

View File

@ -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"
}