add category to image logging
This commit is contained in:
parent
0542d71005
commit
0f2acc808c
@ -227,6 +227,7 @@ class APIImage < ApplicationRecord
|
||||
title: "Image Uploaded",
|
||||
description: <<~DESC,
|
||||
ID: `#{md5}`
|
||||
Category: `#{category}`
|
||||
Artists: `#{artists.join(', ')}`
|
||||
Sources:
|
||||
#{sources.map { |s| "* #{s}" }.join("\n")}
|
||||
@ -245,6 +246,7 @@ class APIImage < ApplicationRecord
|
||||
title: "Image Deleted",
|
||||
description: <<~DESC,
|
||||
ID: `#{md5}`
|
||||
Category: `#{category}`
|
||||
Artists: `#{artists.join(', ')}`
|
||||
Sources:
|
||||
#{sources.map { |s| "* #{s}" }.join("\n")}
|
||||
|
Loading…
Reference in New Issue
Block a user