Add system announcements interface

This commit is contained in:
garrettmills
2020-08-12 21:27:51 -05:00
parent 143fccf179
commit 1458e4126b
9 changed files with 270 additions and 4 deletions

View File

@@ -24,10 +24,6 @@ class ClientModel extends Model {
}
}
can(scope) {
return this.api_scopes.includes()
}
async application() {
const Application = this.models.get('Application')
return Application.findOne({ active: true, oauth_client_ids: this.id })