fix
This commit is contained in:
parent
e314be5b59
commit
39d9c613ac
|
@ -1,4 +1,4 @@
|
||||||
import * as twemoji from 'twemoji-parser/dist/lib/regex.js';
|
import twemoji from 'twemoji-parser/dist/lib/regex.js';
|
||||||
const twemojiRegex = twemoji.default;
|
const twemojiRegex = twemoji.default;
|
||||||
|
|
||||||
export const emojiRegex = new RegExp(`(${twemojiRegex.source})`);
|
export const emojiRegex = new RegExp(`(${twemojiRegex.source})`);
|
||||||
|
|
|
@ -31,6 +31,8 @@ export const paramDef = {
|
||||||
required: [],
|
required: [],
|
||||||
} as const;
|
} as const;
|
||||||
|
|
||||||
|
// TODO: avatar,bannerをJOINしたいけどエラーになる
|
||||||
|
|
||||||
// eslint-disable-next-line import/no-default-export
|
// eslint-disable-next-line import/no-default-export
|
||||||
export default define(meta, paramDef, async (ps, me) => {
|
export default define(meta, paramDef, async (ps, me) => {
|
||||||
const activeThreshold = new Date(Date.now() - (1000 * 60 * 60 * 24 * 30)); // 30日
|
const activeThreshold = new Date(Date.now() - (1000 * 60 * 60 * 24 * 30)); // 30日
|
||||||
|
|
Loading…
Reference in a new issue