devve2kcc
devve2kcc
Explore posts from servers
TTCTheo's Typesafe Cult
Created by devve2kcc on 1/27/2025 in #questions
Next js server actions
No description
2 replies
HHono
Created by devve2kcc on 1/16/2025 in #help
Problem passing jwt token by rpc
6 replies
HHono
Created by devve2kcc on 1/16/2025 in #help
Problem passing jwt token by rpc
const response = await client.api.summary.$get(undefined, {
headers: {
Authorization: `Bearer ${token ?? ''}`
}
});
const response = await client.api.summary.$get(undefined, {
headers: {
Authorization: `Bearer ${token ?? ''}`
}
});
i do not belive, 5h trywing to find the issue, and now i find in a github issue, is just put undefined before passing headers...
6 replies