Update Redis key in GetAnswerToInvitation function
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
903702c719
commit
b4f7071990
@ -47,7 +47,7 @@ func (r *RedisRouter) StoreAnswerToInvitation(id string, timeout int, invitation
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (r *RedisRouter) GetAnswerToInvitation(id string) ([]byte, error) {
|
func (r *RedisRouter) GetAnswerToInvitation(id string) ([]byte, error) {
|
||||||
mwan, err := r.Client.Get("mwiv:" + id).Result()
|
mwan, err := r.Client.Get("mwan:" + id).Result()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user