ill show you now
@Steven this is the code right here
and this is what happens when i press the button
well now for some reason the admin label isnt added
hm.
thats interesting
though now what im getting is undefined for some reason
and the fact that it actually got a response bugs me because it means that it actually accepted the request but the response is not working
i have changed some stuff right here but now appwrite says that im missing 'userid'
and userid is already there
response.name.toLowerCase() is the ID of the user
noobie error
You’re setting userId in your createDocument(), but it looks like the field you’re trying to set it actually called userid
yes
just saw
tho the label stuff
thats something i will never understand
why or how it happened
because i changed nothing
It’s stopped now?
yup
no idea
ill mark it as fixed
[solved] account.create gives admin label by default
Recommended threads
- Project auto-blocked after load testing ...
Hi team 👋 My project has been automatically blocked with the message: "Project is currently blocked — Access to this project is restricted. Contact support if...
- App build crashing with "Internal error"
Hello Appwrite team! 👋 We are trying to deploy a Next.js application on Appwrite Cloud, but our builds are consistently failing. The deployment log successful...
- education plan not activated
Hi I have an edu id 13103046@iubat.edu but when I am trying to claim my plan and trying to logging with github where education student plan active. the appwrite...