chore: 🎨 format

This commit is contained in:
ThatOneCalculator 2023-07-16 18:26:23 -07:00
parent 28e271ba77
commit 6d7c5f2b2e
No known key found for this signature in database
GPG key ID: 8703CACD01000000
4 changed files with 3 additions and 6 deletions

View file

@ -582,7 +582,7 @@ export default function () {
{
repeat: { cron: "0 0 * * 0" },
removeOnComplete: true,
removeOnFail: true
removeOnFail: true,
},
);

View file

@ -3,7 +3,6 @@ import indexAllNotes from "./index-all-notes.js";
const jobs = {
indexAllNotes,
} as Record<string, Bull.ProcessCallbackFunction<Record<string, unknown>>>;
export default function (q: Bull.Queue) {

View file

@ -48,8 +48,7 @@ export async function verifyLinks(
await UserProfiles.update(user.userId, {
fields: fieldsFinal,
});
}
catch (e: any) {
} catch (e: any) {
logger.error(`Failed to update user ${user.userId} ${e}`);
done(e);
break;

View file

@ -9,8 +9,7 @@ export async function getRelMeLinks(url: string): Promise<string[]> {
...dom.window.document.querySelectorAll("a[rel='me']"),
].map((a) => (a as HTMLAnchorElement).href);
return relMeLinks;
}
catch {
} catch {
return [];
}
}