Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
newracket committed Jan 22, 2025
1 parent fc969d6 commit 317aa5c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/lib/api/KlefkiAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,9 @@ export const uploadBoardPhoto = async (file: File): Promise<KlefkiAPIResponse> =
console.log(klefki.key);
const token = generateToken(klefki.key);
console.log(token);
const response = await axios.post<KlefkiAPIResponse>(requestUrl, {
formData,
const response = await axios.post<KlefkiAPIResponse>(requestUrl, formData, {
headers: {
Authorization: `Bearer ${generateToken(klefki.key)}`,

}
});

Expand Down

0 comments on commit 317aa5c

Please sign in to comment.