From 98ba7c50e783d181f456055825c89017d6534156 Mon Sep 17 00:00:00 2001 From: krau <71133316+krau@users.noreply.github.com> Date: Thu, 27 Feb 2025 21:32:14 +0800 Subject: [PATCH] refactor: remove unused StoragePath initialization in AddToQueue function --- bot/handle_add_task.go | 1 - 1 file changed, 1 deletion(-) diff --git a/bot/handle_add_task.go b/bot/handle_add_task.go index 3b30c51..5804217 100644 --- a/bot/handle_add_task.go +++ b/bot/handle_add_task.go @@ -153,7 +153,6 @@ func AddToQueue(ctx *ext.Context, update *ext.Update) error { Status: types.Pending, File: file, StorageName: storageName, - StoragePath: path.Join(), FileChatID: record.ChatID, ReplyMessageID: record.ReplyMessageID, FileMessageID: record.MessageID,