fix lint
This commit is contained in:
@ -12,28 +12,28 @@ export const meta = {
|
||||
|
||||
params: {
|
||||
id: {
|
||||
validator: $.type(ID)
|
||||
validator: $.type(ID),
|
||||
},
|
||||
memo: {
|
||||
validator: $.str
|
||||
validator: $.str,
|
||||
},
|
||||
url: {
|
||||
validator: $.str.min(1)
|
||||
validator: $.str.min(1),
|
||||
},
|
||||
imageUrl: {
|
||||
validator: $.str.min(1)
|
||||
validator: $.str.min(1),
|
||||
},
|
||||
place: {
|
||||
validator: $.str
|
||||
validator: $.str,
|
||||
},
|
||||
priority: {
|
||||
validator: $.str
|
||||
validator: $.str,
|
||||
},
|
||||
ratio: {
|
||||
validator: $.num.int().min(0)
|
||||
validator: $.num.int().min(0),
|
||||
},
|
||||
expiresAt: {
|
||||
validator: $.num.int()
|
||||
validator: $.num.int(),
|
||||
},
|
||||
},
|
||||
|
||||
@ -41,9 +41,9 @@ export const meta = {
|
||||
noSuchAd: {
|
||||
message: 'No such ad.',
|
||||
code: 'NO_SUCH_AD',
|
||||
id: 'b7aa1727-1354-47bc-a182-3a9c3973d300'
|
||||
}
|
||||
}
|
||||
id: 'b7aa1727-1354-47bc-a182-3a9c3973d300',
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
export default define(meta, async (ps, me) => {
|
||||
|
Reference in New Issue
Block a user