From 5eb06ebcc510270936b4b30b6d15d6da5b46ea4e Mon Sep 17 00:00:00 2001 From: ycc Date: Wed, 30 Aug 2023 21:16:13 +0200 Subject: [PATCH] typo --- server/invitation.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/invitation.go b/server/invitation.go index 3260fad..1b1496c 100644 --- a/server/invitation.go +++ b/server/invitation.go @@ -46,7 +46,7 @@ func (r *RedisRouter) AnswerInvitation(id string, timeout int, invitation []byte return time.Now().Add(time.Duration(timeout * 1000000)).UTC() } -func (r *RedisRouter) GetAnswer(id string) ([]byte, error) { +func (r *RedisRouter) GetInvitationAnswer(id string) ([]byte, error) { mwan, err := r.Client.Get("mwiv:" + id).Result() if err != nil { return nil, err