Pass obj type to functions

This commit is contained in:
Soam Vasani
2016-12-12 08:46:19 -08:00
parent b7906905c2
commit 5c6dcca19d
2 changed files with 11 additions and 3 deletions
+1 -1
View File
@@ -194,6 +194,6 @@ func (ws *watchSubscription) eventDispatchLoop(poster *Poster) {
if err != nil {
log.Println("Failed to serialize object: %v", err)
}
poster.Post(string(ev.Type), ws.Watch.Url, &buf)
poster.Post(string(ev.Type), ws.Watch.ObjType, ws.Watch.Url, &buf)
}
}