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
- Paused project can't activate
I have failed to reactivate one my projects which had been paused
- Site deployment keeps getting failed
Hi good folks, need a hand with Sites deploy Error on every deploy: Synchronous function execution timed out... duration doesn't exceed 30 seconds [exact log ...
- Unknown attribute type: varchar / text
Since the `string` type is deprecated I tried using `varchar` and `text` in some newer tables, but when running `appwrite pull tables && appwrite types ./src/li...