fix: scope model
This commit is contained in:
parent
811957b468
commit
3b5354c4af
1 changed files with 2 additions and 0 deletions
|
@ -2,6 +2,8 @@ import Model from 'flarum/common/Model';
|
||||||
|
|
||||||
export default class Client extends Model {
|
export default class Client extends Model {
|
||||||
scope = Model.attribute('scope');
|
scope = Model.attribute('scope');
|
||||||
|
resource_path = Model.attribute('resource_path');
|
||||||
|
method = Model.attribute('method');
|
||||||
is_default = Model.attribute('is_default', value => value === 1);
|
is_default = Model.attribute('is_default', value => value === 1);
|
||||||
scope_name = Model.attribute('scope_name');
|
scope_name = Model.attribute('scope_name');
|
||||||
scope_icon = Model.attribute('scope_icon');
|
scope_icon = Model.attribute('scope_icon');
|
||||||
|
|
Loading…
Reference in a new issue