Commit 360b6431 authored by Robert Knight's avatar Robert Knight

Remove unused `api` service dependency from `setupRoute` function

parent 2c8244c8
...@@ -76,7 +76,7 @@ function setupApi(api, streamer) { ...@@ -76,7 +76,7 @@ function setupApi(api, streamer) {
* route to match the current URL. * route to match the current URL.
*/ */
// @ngInject // @ngInject
function setupRoute(api, groups, session, router) { function setupRoute(groups, session, router) {
Promise.all([groups.load(), session.load()]).finally(() => { Promise.all([groups.load(), session.load()]).finally(() => {
router.sync(); router.sync();
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment