Conversation
…tend-schema' into upload-avatar
|
I tried running with a minio server, which you can run with something like: Then adding But then, while trying to upload a file I get this error in the javascript console: |
|
I got the same error as the previous commenter - I believe it is something to do with the So when we call |
| throw err; | ||
| } | ||
|
|
||
| const user = await getCurrentUser(context.rootPgPool); |
There was a problem hiding this comment.
I believe this is what is causing the input error issue, changing rootPgPool to pgClient fixes it. Seems that rootPgPool doesn't have the context necessary for app_public.current_user_id to work properly either.
|
Yes, the savepoint should have a name. The whole Basically: this PR is a very WIP merge of two other PRs and is not suitable for usage - that's why it's in draft status. |
This is a work in progress PR for adding avatar upload functionality, merging #101 and #108. It's no-where near ready.
Unfortunately I timed out after 4 hours merging these PRs and attempting to implement the above functionality.