This commit is contained in:
Yasuhiro Matsumoto 2017-11-20 09:58:20 +09:00
parent bd72aa305d
commit 3002812c02
2 changed files with 3 additions and 3 deletions

View file

@ -69,7 +69,7 @@ func handleReader(q chan Event, r io.Reader) error {
q <- &NotificationEvent{&notification}
}
case "delete":
q <- &DeleteEvent{ID(strings.TrimSpace(token[1]))}
q <- &DeleteEvent{ID: ID(strings.TrimSpace(token[1]))}
}
if err != nil {
q <- &ErrorEvent{err}