From 898ca77e318899e02ebf7bedeb7dea1073ebcf83 Mon Sep 17 00:00:00 2001 From: Jersey Date: Tue, 7 May 2024 11:19:51 -0400 Subject: [PATCH] format --- packages/bolt-discord/conv.ts | 2 +- packages/bolt-matrix/mod.ts | 6 +++--- packages/lightning/src/migrations.ts | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/bolt-discord/conv.ts b/packages/bolt-discord/conv.ts index 4dd03dc..78cc3b9 100644 --- a/packages/bolt-discord/conv.ts +++ b/packages/bolt-discord/conv.ts @@ -47,7 +47,7 @@ export async function to_discord( return { ...i, timestamp: i.timestamp ? Number(i.timestamp) : undefined, - video : i.video ? { ...i.video, url: i.video.url || "" } : undefined + video: i.video ? { ...i.video, url: i.video.url || '' } : undefined }; }) ); diff --git a/packages/bolt-matrix/mod.ts b/packages/bolt-matrix/mod.ts index 07f1df5..f590382 100644 --- a/packages/bolt-matrix/mod.ts +++ b/packages/bolt-matrix/mod.ts @@ -82,7 +82,7 @@ export class matrix_plugin extends plugin { await store?.setMatrixUser(storeUser); } // now to our message - const message = coreToMessage({...msg, reply_id}); + const message = coreToMessage({ ...msg, reply_id }); let editinfo = {}; if (edit) { editinfo = { @@ -97,7 +97,7 @@ export class matrix_plugin extends plugin { ...message, ...editinfo }); - return result.event_id + return result.event_id; } async edit_message( @@ -120,6 +120,6 @@ export class matrix_plugin extends plugin { delete_id, 'bridge message deletion' ); - return delete_id + return delete_id; } } diff --git a/packages/lightning/src/migrations.ts b/packages/lightning/src/migrations.ts index 0336986..0189229 100644 --- a/packages/lightning/src/migrations.ts +++ b/packages/lightning/src/migrations.ts @@ -57,7 +57,7 @@ export const fivesevenexistingredis = { channel: i.channel, id: i.id, plugin: i.plugin - } + }; }), use_rawname: false } as bridge_document