this post was submitted on 11 Jan 2025
3 points (80.0% liked)

JavaScript

2237 readers
2 users here now

founded 2 years ago
MODERATORS
 

hello! im developing lemmy client (on html5). i tried to do login function but... when i try to fetch /v3/user backend with auth-token it give me error:

{
  "error": "no_id_given"
}

but why? what im doing wrong? if you want here is my source file on github ( function: getLoggined() )

you are viewing a single comment's thread
view the rest of the comments
[–] bleistift2@sopuli.xyz 1 points 2 months ago (1 children)

Love the function name. When asking for help it’s always appreciated to make life for your helpers as easy as possible. For instance by linking to the offending function directly (especially when the file is so large).

[–] okelote360@lemmy.world 1 points 2 months ago

wait i can share link to... LINES? i didn't know that...