mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-07-07 12:36:57 +00:00
add missing semicolons.
This commit is contained in:
parent
228f24b5d6
commit
604c6dbc66
1 changed files with 3 additions and 3 deletions
|
@ -454,7 +454,7 @@ export class UrlPreviewService {
|
||||||
host = null;
|
host = null;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
const user = await this.remoteUserResolveService.resolveUser(username, host)
|
const user = await this.remoteUserResolveService.resolveUser(username, host);
|
||||||
|
|
||||||
const attributionDomains = user.attributionDomains;
|
const attributionDomains = user.attributionDomains;
|
||||||
if (attributionDomains.some(x => `.${url.host.toLowerCase()}`.endsWith(`.${x}`))) {
|
if (attributionDomains.some(x => `.${url.host.toLowerCase()}`.endsWith(`.${x}`))) {
|
||||||
|
@ -463,10 +463,10 @@ export class UrlPreviewService {
|
||||||
username: fediverseCreator,
|
username: fediverseCreator,
|
||||||
avatarUrl: user.avatarUrl ?? '',
|
avatarUrl: user.avatarUrl ?? '',
|
||||||
avatarBlurhash: user.avatarBlurhash ?? '',
|
avatarBlurhash: user.avatarBlurhash ?? '',
|
||||||
}
|
};
|
||||||
}
|
}
|
||||||
} catch {
|
} catch {
|
||||||
console.warn('user not found: ' + fediverseCreator)
|
console.warn('user not found: ' + fediverseCreator);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue