chore: 🎨 format
This commit is contained in:
parent
28e271ba77
commit
6d7c5f2b2e
4 changed files with 3 additions and 6 deletions
|
@ -582,7 +582,7 @@ export default function () {
|
|||
{
|
||||
repeat: { cron: "0 0 * * 0" },
|
||||
removeOnComplete: true,
|
||||
removeOnFail: true
|
||||
removeOnFail: true,
|
||||
},
|
||||
);
|
||||
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 [];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue