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