mirror of
https://github.com/versia-pub/server.git
synced 2026-03-14 06:19:15 +01:00
fix: 🚨 Fix DeepSource linter warnings
This commit is contained in:
parent
45e5460975
commit
1d301d72ae
10 changed files with 39 additions and 40 deletions
|
|
@ -242,7 +242,7 @@ export default apiRoute((app) => {
|
|||
: undefined;
|
||||
|
||||
const parsedMentions = statusText
|
||||
? await parseTextMentions(statusText, user)
|
||||
? await parseTextMentions(statusText)
|
||||
: [];
|
||||
|
||||
const parsedEmojis = statusText
|
||||
|
|
|
|||
|
|
@ -192,7 +192,7 @@ export default apiRoute((app) =>
|
|||
: undefined;
|
||||
|
||||
const parsedMentions = status
|
||||
? await parseTextMentions(status, user)
|
||||
? await parseTextMentions(status)
|
||||
: [];
|
||||
|
||||
const parsedEmojis = status
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue