mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2026-01-20 20:01:25 +00:00
Fix wrong async
This commit is contained in:
parent
23e637e098
commit
9b03368276
@ -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]')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user