hotfix(frontend): send request with auth token

This commit is contained in:
Leandro Antônio Farias Machado 2023-06-08 12:37:32 -03:00
parent 4efb6595ea
commit e30cd64f5e

View File

@ -55,7 +55,7 @@ const handleOpen = () => {
setOpen(true);
var myHeaders = new Headers();
myHeaders.append("Content-Type", "application/json");
myHeaders.append("Authorization", "<token>");
myHeaders.append("Authorization", localStorage.getItem("token"));
var raw = value