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