1
0
mirror of https://github.com/usebruno/bruno.git synced 2025-07-12 02:05:33 +02:00
This commit is contained in:
Jack Scotson
2023-10-15 10:25:35 +01:00
parent 211f941b9f
commit 074cbf0c03

@ -288,9 +288,7 @@ export const renameItem = (newName, itemUid, collectionUid) => (dispatch, getSta
} }
const { ipcRenderer } = window; const { ipcRenderer } = window;
ipcRenderer.invoke('renderer:rename-item', item.pathname, newPathname, newName).then(() => { ipcRenderer.invoke('renderer:rename-item', item.pathname, newPathname, newName).then(resolve).catch(reject);
resolve()
}).catch(reject);
}); });
}; };