Fix wrong async

This commit is contained in:
Wolfgang Huß 2023-07-25 16:26:37 +02:00
parent 23e637e098
commit 9b03368276

View File

@ -23,7 +23,7 @@ export const queryAllUserIds = async (context, offset = -1, pageSize = -1) => {
}
}
export const extractMentionedUsers = async (content?) => {
export const extractMentionedUsers = (content?) => {
if (!content) return []
const $ = cheerio.load(content)
const userIds = $('a.mention[data-mention-id]')