From 3a63628456ec6e2e02cee31062ce44e168434cdc Mon Sep 17 00:00:00 2001 From: Michael Williams Date: Tue, 14 Nov 2017 16:17:36 -0800 Subject: [PATCH] wip: authorize combined agents service - https://github.com/root-systems/cobuy/issues/172 - https://github.com/root-systems/cobuy/issues/266 --- agents/service.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/agents/service.js b/agents/service.js index 56b171f..8d5b0b2 100644 --- a/agents/service.js +++ b/agents/service.js @@ -15,6 +15,9 @@ module.exports = function () { const db = app.get('db') const name = 'agents' + // profile (via agentId) + // credential (via agentId) + // relationships (via sourceId, targetId) const options = { Model: db, name } app.use(name, feathersKnex(options))