fix dequeue account data issue
This commit is contained in:
parent
3f1fd00fb6
commit
ddf2460dbd
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ func (q *Queue) Remove(id string) error {
|
||||||
|
|
||||||
q.mu.Lock(itemkey)
|
q.mu.Lock(itemkey)
|
||||||
defer q.mu.Unlock(itemkey)
|
defer q.mu.Unlock(itemkey)
|
||||||
return q.lp.SetAccountData(itemkey, nil)
|
return q.lp.SetAccountData(itemkey, map[string]string{})
|
||||||
}
|
}
|
||||||
|
|
||||||
// try to send email
|
// try to send email
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue