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
- Not allowed permission to upsert a prese...
```js const presenceID = ID.unique(); setPID(presenceID); const presence = await presences.upsert({ presenceId: presenceID, status: "online"...
- Finding job
Hi. I am a full-stack developer with experience in developing scalable and user-friendly web applications. I handle both front-end and back-end development, im...
- CDN not delivering correct bundle
My site 69b4cd410035893573dc is not delivering the latest deployed version via CDN, it seems stuck on versions from previoiu days, alternative links for the lat...