-
-
Notifications
You must be signed in to change notification settings - Fork 220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upload avatar #167
base: main
Are you sure you want to change the base?
Upload avatar #167
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.