FoundKey/packages/backend
Francis Dinh 19e29c3465
backend: move mentionedUsers query to mention handler
The mentionedUsers query was being run on every post, regardless of
whether a mention was in it or not.

This resulted in an SQL query ending in `WHERE userId IN ()` which is
not allowed in PostgreSQL.

Reference: FoundKeyGang/FoundKey#132
Changelog: Fixed
2022-09-08 16:17:35 -04:00
..
.vscode Update settings.json 2022-04-15 21:33:00 +09:00
assets feat: Add Badge Image to Push Notification (#8012) 2022-07-09 05:52:01 -04:00
migration refactor: remove note.mentionedRemoteUsers column 2022-09-07 14:43:04 +02:00
src backend: move mentionedUsers query to mention handler 2022-09-08 16:17:35 -04:00
test fix some deps 2022-08-26 18:04:53 -04:00
.eslintignore migrate to Yarn 3.2.3 2022-08-26 15:24:29 -04:00
.eslintrc.cjs test: __dirnameはESModuleでは使えないので置き換えた (#8626) 2022-05-14 16:09:47 +09:00
.mocharc.json fix broken mocha tests v2 2022-07-13 12:49:58 +02:00
jsconfig.json use eslint 2021-11-12 10:35:41 +09:00
ormconfig.js refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
package.json backend: move @types/pg to devDependencies 2022-09-07 14:20:22 -04:00
tsconfig.json revert tsconfig declaration to false 2022-09-03 17:50:33 -04:00
watch.mjs implement dev command 2021-11-19 14:48:59 +09:00