this post was submitted on 11 Jan 2025
2 points (75.0% liked)

JavaScript

1700 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() )

top 2 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 6 days 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 1 points 5 days ago

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