From a7c523ee46d4f9faa33b472ccb9a0f4cb7e92e6c Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Mon, 8 May 2023 13:36:53 -0700 Subject: [PATCH] chore: formatting --- packages/backend/src/queue/processors/db/import-posts.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/backend/src/queue/processors/db/import-posts.ts b/packages/backend/src/queue/processors/db/import-posts.ts index 2aa02a80b..73cec113e 100644 --- a/packages/backend/src/queue/processors/db/import-posts.ts +++ b/packages/backend/src/queue/processors/db/import-posts.ts @@ -81,7 +81,7 @@ export async function importPosts( } else if (parsed instanceof Object) { logger.info("Parsing animal style posts"); for (const post of parsed.orderedItems) { - async () =>{ + async () => { try { linenum++; let reply: Note | null = null; @@ -103,7 +103,7 @@ export async function importPosts( return; } logger.info(`Posting[${linenum}] ...`); - + const note = await create(user, { createdAt: new Date(post.object.published), files: undefined, @@ -123,7 +123,7 @@ export async function importPosts( } catch (e) { logger.warn(`Error in line:${linenum} ${e}`); } - } + }; } } } catch (e) {