From af1893d71f2b150f8e641581c5c43cdef2201e24 Mon Sep 17 00:00:00 2001 From: Chloe Kudryavtsev Date: Sun, 2 Jul 2023 13:57:19 +0200 Subject: [PATCH] createaQueryBuilder => createQueryBuilder --- packages/backend/src/services/note/side-effects.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/backend/src/services/note/side-effects.ts b/packages/backend/src/services/note/side-effects.ts index d3d787bd7..1008facbd 100644 --- a/packages/backend/src/services/note/side-effects.ts +++ b/packages/backend/src/services/note/side-effects.ts @@ -344,7 +344,7 @@ export async function sideEffects(user: User, note: Note, silent = false, create // If the post is a reply and the poster is a local user and the poster of the post to which you are replying is a remote user, deliver if (note.replyId) { - const subquery = Notes.createaQueryBuilder() + const subquery = Notes.createQueryBuilder() .select('userId') .where('"id" = :replyId', { replyId: note.replyId }); const u = await Users.createQueryBuilder() @@ -356,7 +356,7 @@ export async function sideEffects(user: User, note: Note, silent = false, create // If the post is a Renote and the poster is a local user and the poster of the original Renote post is a remote user, deliver if (note.renoteId) { - const subquery = Notes.createaQueryBuilder() + const subquery = Notes.createQueryBuilder() .select('userId') .where('"id" = :renoteId', { renoteId: note.renoteId }); const u = await Users.createQueryBuilder()