fix lint
This commit is contained in:
parent
0abe2dfee0
commit
c69b72e199
573 changed files with 3318 additions and 3318 deletions
|
@ -11,25 +11,25 @@ export const meta = {
|
|||
|
||||
params: {
|
||||
pageId: {
|
||||
validator: $.type(ID)
|
||||
validator: $.type(ID),
|
||||
},
|
||||
|
||||
event: {
|
||||
validator: $.str
|
||||
validator: $.str,
|
||||
},
|
||||
|
||||
var: {
|
||||
validator: $.optional.nullable.any
|
||||
}
|
||||
validator: $.optional.nullable.any,
|
||||
},
|
||||
},
|
||||
|
||||
errors: {
|
||||
noSuchPage: {
|
||||
message: 'No such page.',
|
||||
code: 'NO_SUCH_PAGE',
|
||||
id: '4a13ad31-6729-46b4-b9af-e86b265c2e74'
|
||||
}
|
||||
}
|
||||
id: '4a13ad31-6729-46b4-b9af-e86b265c2e74',
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
export default define(meta, async (ps, user) => {
|
||||
|
@ -44,7 +44,7 @@ export default define(meta, async (ps, user) => {
|
|||
var: ps.var,
|
||||
userId: user.id,
|
||||
user: await Users.pack(user.id, { id: page.userId }, {
|
||||
detail: true
|
||||
})
|
||||
detail: true,
|
||||
}),
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue