From cb3c4e83c17328d54f2faf65d768dce9b6442ac9 Mon Sep 17 00:00:00 2001 From: benito Date: Thu, 27 May 2021 16:45:07 +0800 Subject: [PATCH] remove post hook case --- cmd/tusd/cli/hooks.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/cmd/tusd/cli/hooks.go b/cmd/tusd/cli/hooks.go index 27ea5e6..dec2f1b 100644 --- a/cmd/tusd/cli/hooks.go +++ b/cmd/tusd/cli/hooks.go @@ -121,8 +121,6 @@ func SetupPostHooks(handler *handler.Handler) { invokeHookAsync(hooks.HookPostReceive, info) case info := <-handler.CreatedUploads: invokeHookAsync(hooks.HookPostCreate, info) - case info := <-handler.GetUploads: - invokeHookAsync(hooks.HookPreGet, info) } } }()