This commit is contained in:
cdle
2021-09-18 17:01:31 +08:00
parent 7ed6deea55
commit 270fbcb7c8
+1 -1
View File
@@ -154,7 +154,7 @@ func (sender *Sender) Reply(msgs ...interface{}) error {
for _, item := range msgs { for _, item := range msgs {
switch item.(type) { switch item.(type) {
case time.Duration: case time.Duration:
du := msgs[1].(time.Duration) du := item.(time.Duration)
sender.Duration = &du sender.Duration = &du
} }
} }