Clean up Requester interface a bit

This commit is contained in:
Liam Newman
2019-11-14 18:16:56 -08:00
parent d3564a9a4f
commit 37d7cfaaf2
15 changed files with 55 additions and 131 deletions

View File

@@ -74,8 +74,8 @@ class GHHooks {
ea.add(e.symbol());
}
GHHook hook = new Requester(root).with("name", name).with("active", active)._with("config", config)
._with("events", ea).to(collection(), clazz());
GHHook hook = new Requester(root).with("name", name).with("active", active).with("config", config)
.with("events", ea).to(collection(), clazz());
return wrap(hook);
}