repos is a client, but not a middleware host
Fix syntax
Add missing }