createaQueryBuilder => createQueryBuilder
Some checks failed
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/lint-client Pipeline failed
ci/woodpecker/push/lint-backend Pipeline failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-sw Pipeline failed
ci/woodpecker/push/test Pipeline failed
Some checks failed
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/lint-client Pipeline failed
ci/woodpecker/push/lint-backend Pipeline failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-sw Pipeline failed
ci/woodpecker/push/test Pipeline failed
This commit is contained in:
parent
77358c8f4b
commit
af1893d71f
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue