Skip to content

Draft: Attempting to fix followers count

P. Reis requested to merge attempt-fix-followers-count into main

Line 26 throws an error and the code stops and hangs forever. Error message is roughly:

error: Uncaught (in promise) Error: don't await InsertQueryBuilder instances directly. To execute the query you need to call `execute` or `executeTakeFirst`.
    at InsertQueryBuilder.value (file://.cache/deno/npm/registry.npmjs.org/kysely/0.26.3/dist/esm/util/prevent-await.js:7:23)
    at eventLoopTick (ext:core/01_core.js:168:7)
Watcher Process failed. Restarting on file change...

I also would like to know if the code logic is correct or if this fix should be implemented in another part of the codebase.

Merge request reports