From 0f2acc808c2158029dd88b6ddafdcd42c563ffa2 Mon Sep 17 00:00:00 2001 From: Donovan Daniels Date: Tue, 7 May 2024 02:54:31 -0500 Subject: [PATCH] add category to image logging --- app/models/api_image.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/models/api_image.rb b/app/models/api_image.rb index 50bb535..47f0a92 100644 --- a/app/models/api_image.rb +++ b/app/models/api_image.rb @@ -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")}