Item tags #350

Merged
alexm merged 6 commits from :feature/ItemTags into dev 2024-05-08 08:03:56 +00:00
2 changed files with 10 additions and 1 deletions
Showing only changes of commit 33dac72f1c - Show all commits

View File

@ -1,6 +1,6 @@
{
"name": "salix-front",
"version": "24.20.0",
"version": "24.22.0",
"description": "Salix frontend",
"productName": "Salix",
"author": "Verdnatura",

View File

@ -38,6 +38,15 @@ Cypress.Commands.add('login', (user) => {
},
}).then((response) => {
window.localStorage.setItem('token', response.body.token);
cy.request({
method: 'GET',
url: '/api/VnUsers/ShareToken',
headers: {
Authorization: window.localStorage.getItem('token'),
},
}).then(({ body }) => {
window.localStorage.setItem('tokenMultimedia', body.multimediaToken.id);
});
});
});