11 lines
613 B
Diff
11 lines
613 B
Diff
--- broker.original
|
|
+++ M03-project
|
|
@@ -6429,7 +6429,6 @@
|
|
keys(a, opening ? ['project'] : sending ? ['project', 'body'] : ['project', 'after', 'limit'],
|
|
sending ? ['project', 'body'] : ['project']);
|
|
const project = identifier(a.project);
|
|
- if (!this.#store.get('SELECT 1 FROM projects WHERE id=? AND business=?', project, s.business)) fail('project-not-found');
|
|
const members = Object.keys(b.roles).filter((instance) => this.#threaded(s.business, instance)).sort();
|
|
if (!members.length) fail('thread-instance-missing');
|
|
const owner = this.#owner(s);
|