update deps (#11409)
* update deps * Update .eslintrc.js * Update .eslintrc.js * lint * lint * Update update.ts * update deps * Update .eslintrc.js
This commit is contained in:
parent
4aed5968f6
commit
2b4c8c9e0f
18 changed files with 1346 additions and 1018 deletions
|
@ -367,7 +367,7 @@ export class NoteCreateService implements OnApplicationShutdown {
|
|||
name: data.name,
|
||||
text: data.text,
|
||||
hasPoll: data.poll != null,
|
||||
cw: data.cw == null ? null : data.cw,
|
||||
cw: data.cw ?? null,
|
||||
tags: tags.map(tag => normalizeForSearch(tag)),
|
||||
emojis,
|
||||
userId: user.id,
|
||||
|
@ -402,7 +402,7 @@ export class NoteCreateService implements OnApplicationShutdown {
|
|||
const url = profile != null ? profile.url : null;
|
||||
return {
|
||||
uri: u.uri,
|
||||
url: url == null ? undefined : url,
|
||||
url: url ?? undefined,
|
||||
username: u.username,
|
||||
host: u.host,
|
||||
} as IMentionedRemoteUsers[0];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue