lint
This commit is contained in:
parent
408142647c
commit
4a64280a7c
306 changed files with 306 additions and 0 deletions
|
|
@ -34,6 +34,7 @@ export const meta = {
|
|||
},
|
||||
};
|
||||
|
||||
// eslint-disable-next-line import/no-default-export
|
||||
export default define(meta, async (ps, user) => {
|
||||
const mute = await Mutings.find({
|
||||
muterId: user.id,
|
||||
|
|
|
|||
|
|
@ -74,6 +74,7 @@ export const meta = {
|
|||
},
|
||||
};
|
||||
|
||||
// eslint-disable-next-line import/no-default-export
|
||||
export default define(meta, async (ps, user) => {
|
||||
if (ps.userId != null) {
|
||||
// Fetch recipient (user)
|
||||
|
|
|
|||
|
|
@ -84,6 +84,7 @@ export const meta = {
|
|||
},
|
||||
};
|
||||
|
||||
// eslint-disable-next-line import/no-default-export
|
||||
export default define(meta, async (ps, user) => {
|
||||
let recipientUser: User | undefined;
|
||||
let recipientGroup: UserGroup | undefined;
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@ export const meta = {
|
|||
},
|
||||
};
|
||||
|
||||
// eslint-disable-next-line import/no-default-export
|
||||
export default define(meta, async (ps, user) => {
|
||||
const message = await MessagingMessages.findOne({
|
||||
id: ps.messageId,
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ export const meta = {
|
|||
},
|
||||
};
|
||||
|
||||
// eslint-disable-next-line import/no-default-export
|
||||
export default define(meta, async (ps, user) => {
|
||||
const message = await MessagingMessages.findOne(ps.messageId);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue