Merge pull request 'feat(teams): answer core's Team provider from the guild board' (#9) from feat/teams-phase2-provider into edge
Reviewed-on: #9
This commit is contained in:
@@ -5,9 +5,10 @@
|
||||
// core-internal (docs/website/TEAMS.md §10.3) and this module must never name
|
||||
// one, even though it is what fills them.
|
||||
|
||||
const core = require('../../core')
|
||||
|
||||
const query = (...args) => core.db.query(...args)
|
||||
// `query` is destructured from the core facade at require time, like every other
|
||||
// *.db.js here. The facade resolves `ctx` per call, so taking it now is safe even
|
||||
// though `ctx` does not exist yet when this file is first required.
|
||||
const { query } = require('../../core')
|
||||
|
||||
/**
|
||||
* The guild board — one row per guild the shard has told us about.
|
||||
|
||||
Reference in New Issue
Block a user