This commit is contained in:
ct
2025-06-19 22:24:47 +08:00
parent 5d3a3c8818
commit 7712101b76
11 changed files with 489 additions and 22 deletions

View File

@@ -268,7 +268,7 @@ private function importSingleMeme(array $meme_record): bool
private function attachKeywordsAsTags(MemeMedia $meme_media, array $keywords): void
{
try {
$meme_media->attachTags($keywords, 'meme');
$meme_media->attachTags($keywords, 'meme_media');
} catch (\Exception $e) {
$this->command->warn("Failed to attach tags to meme media '{$meme_media->name}': " . $e->getMessage());
Log::warning("Failed to attach tags", [