This commit is contained in:
ycc 2023-08-30 21:16:13 +02:00
parent 753cd30f38
commit 5eb06ebcc5

View File

@ -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