update
This commit is contained in:
+1
-1
@@ -107,7 +107,7 @@ func (sender *Faker) Reply(msgs ...interface{}) (int, error) {
|
|||||||
rt := ""
|
rt := ""
|
||||||
var n *Notify
|
var n *Notify
|
||||||
for _, msg := range msgs {
|
for _, msg := range msgs {
|
||||||
switch msgs[0].(type) {
|
switch msg.(type) {
|
||||||
case []byte:
|
case []byte:
|
||||||
rt = (string(msg.([]byte)))
|
rt = (string(msg.([]byte)))
|
||||||
case string:
|
case string:
|
||||||
|
|||||||
Reference in New Issue
Block a user