await axios .post("http://localhost:5000/books/addBook", { headers: { 'Content-Type': 'application/json', "auth-token": localStorage.getItem('token'), }, body:({ name: String(inputs.name), author: String(inputs.author), description: String(inputs.description), price: Number(inputs.price), image: String(inputs.image), available: Boolean(checked), }) }) .then((res) => res.data); this is code token has been there but not assigned to headers


auth-tokenheader?