Skip to content

Commit

Permalink
Merge pull request #44 from fga-eps-mds/132-fix-token-exclusao-equipa…
Browse files Browse the repository at this point in the history
…mento

#132 fix: ajuste no getItem do token
  • Loading branch information
pedroyen21 authored Jun 20, 2023
2 parents 26f8904 + db85e94 commit c039fda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/equipment-view-form/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export default function EquipmentViewForm({
const response = await api.delete('equipment/deleteEquipment', {
params: { id: equipment.id },
headers: {
Authorization: `Bearer ${localStorage.getItem('@App:token')}`,
Authorization: `Bearer ${localStorage.getItem('@alectrion:token')}`,
},
});

Expand Down

0 comments on commit c039fda

Please sign in to comment.