mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-12-22 16:30:13 +00:00
fix
This commit is contained in:
parent
e314be5b59
commit
39d9c613ac
2 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
||||
export const emojiRegex = new RegExp(`(${twemojiRegex.source})`);
|
||||
|
|
|
@ -31,6 +31,8 @@ export const paramDef = {
|
|||
required: [],
|
||||
} as const;
|
||||
|
||||
// TODO: avatar,bannerをJOINしたいけどエラーになる
|
||||
|
||||
// eslint-disable-next-line import/no-default-export
|
||||
export default define(meta, paramDef, async (ps, me) => {
|
||||
const activeThreshold = new Date(Date.now() - (1000 * 60 * 60 * 24 * 30)); // 30日
|
||||
|
|
Loading…
Reference in a new issue