fix lint
This commit is contained in:
@@ -11,20 +11,20 @@ export const meta = {
|
||||
|
||||
params: {
|
||||
body: {
|
||||
validator: $.str
|
||||
validator: $.str,
|
||||
},
|
||||
|
||||
header: {
|
||||
validator: $.optional.nullable.str
|
||||
validator: $.optional.nullable.str,
|
||||
},
|
||||
|
||||
icon: {
|
||||
validator: $.optional.nullable.str
|
||||
validator: $.optional.nullable.str,
|
||||
},
|
||||
},
|
||||
|
||||
errors: {
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
export default define(meta, async (ps, user, token) => {
|
||||
|
@@ -7,7 +7,7 @@ export const meta = {
|
||||
|
||||
requireCredential: true as const,
|
||||
|
||||
kind: 'write:notifications'
|
||||
kind: 'write:notifications',
|
||||
};
|
||||
|
||||
export default define(meta, async (ps, user) => {
|
||||
@@ -16,7 +16,7 @@ export default define(meta, async (ps, user) => {
|
||||
notifieeId: user.id,
|
||||
isRead: false,
|
||||
}, {
|
||||
isRead: true
|
||||
isRead: true,
|
||||
});
|
||||
|
||||
// 全ての通知を読みましたよというイベントを発行
|
||||
|
@@ -23,7 +23,7 @@ export const meta = {
|
||||
noSuchNotification: {
|
||||
message: 'No such notification.',
|
||||
code: 'NO_SUCH_NOTIFICATION',
|
||||
id: 'efa929d5-05b5-47d1-beec-e6a4dbed011e'
|
||||
id: 'efa929d5-05b5-47d1-beec-e6a4dbed011e',
|
||||
},
|
||||
},
|
||||
};
|
||||
|
Reference in New Issue
Block a user