From c33f37e4cda6f40288659dac47d44e8c3d28cea2 Mon Sep 17 00:00:00 2001 From: Noah Metz Date: Tue, 14 Nov 2023 16:40:17 -0700 Subject: [PATCH] Made NewSuccessSignal return correct type --- signal.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/signal.go b/signal.go index c56190f..4f8b4e6 100644 --- a/signal.go +++ b/signal.go @@ -218,7 +218,7 @@ func (signal SuccessSignal) Permission() Tree { }, } } -func NewSuccessSignal(req_id uuid.UUID) Signal { +func NewSuccessSignal(req_id uuid.UUID) *SuccessSignal { return &SuccessSignal{ NewResponseHeader(req_id, Direct), }