Skip to content

Commit

Permalink
Use Authorization header instead of User-ID
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel González Lopes <[email protected]>
  • Loading branch information
dgzlopes committed Jan 3, 2025
1 parent 5cf5916 commit beda4b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/newtemplates/protocol.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default function() {
let res = http.post(BASE_URL + "/api/pizza", JSON.stringify(restrictions), {
headers: {
'Content-Type': 'application/json',
'X-User-ID': 23423,
'Authorization': 'token abcdef0123456789',
},
});

Expand Down

0 comments on commit beda4b1

Please sign in to comment.