johnHackworth / goblin

GNU Affero General Public License v3.0
50 stars 4 forks source link

Mentions and DM tabs in the notification page are broken #70

Closed sirilyan closed 7 months ago

sirilyan commented 7 months ago
{
    "error": {
        "message": "Internal error occurred. Please contact us if the error persists.",
        "code": "INTERNAL_ERROR",
        "id": "5d37dbcb-891e-41ca-a3d6-e690c97775ac",
        "kind": "server",
        "info": {
            "e": {
                "message": "relation \"me\" does not exist",
                "code": "QueryFailedError",
                "stack": "QueryFailedError: relation \"me\" does not exist\n    at PostgresQueryRunner.query (/etc/goblin/node_modules/.pnpm/typeorm@0.3.17_ioredis@5.3.2_pg@8.11.1_ts-node@10.9.1/node_modules/typeorm/driver/postgres/PostgresQueryRunner.js:211:19)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async SelectQueryBuilder.loadRawResults (/etc/goblin/node_modules/.pnpm/typeorm@0.3.17_ioredis@5.3.2_pg@8.11.1_ts-node@10.9.1/node_modules/typeorm/query-builder/SelectQueryBuilder.js:2183:25)\n    at async SelectQueryBuilder.getRawMany (/etc/goblin/node_modules/.pnpm/typeorm@0.3.17_ioredis@5.3.2_pg@8.11.1_ts-node@10.9.1/node_modules/typeorm/query-builder/SelectQueryBuilder.js:646:29)\n    at async SelectQueryBuilder.executeEntitiesAndRawResults (/etc/goblin/node_modules/.pnpm/typeorm@0.3.17_ioredis@5.3.2_pg@8.11.1_ts-node@10.9.1/node_modules/typeorm/query-builder/SelectQueryBuilder.js:1973:26)\n    at async SelectQueryBuilder.getRawAndEntities (/etc/goblin/node_modules/.pnpm/typeorm@0.3.17_ioredis@5.3.2_pg@8.11.1_ts-node@10.9.1/node_modules/typeorm/query-builder/SelectQueryBuilder.js:684:29)\n    at async SelectQueryBuilder.getMany (/etc/goblin/node_modules/.pnpm/typeorm@0.3.17_ioredis@5.3.2_pg@8.11.1_ts-node@10.9.1/node_modules/typeorm/query-builder/SelectQueryBuilder.js:750:25)\n    at async file:///etc/goblin/packages/backend/built/server/api/endpoints/notes/mentions.js:84:23\n    at async default (file:///etc/goblin/packages/backend/built/server/api/call.js:121:12)"
            }
        }
    }
}