Skip to content

Commit 96ce9bc

Browse files
cdifinocorevo
authored andcommitted
API bug (#809)
Fixed check instead of req.id req.project
1 parent 47eacae commit 96ce9bc

File tree

1 file changed

+1
-1
lines changed
  • packages/selenium-ide/src/api/v1

1 file changed

+1
-1
lines changed

packages/selenium-ide/src/api/v1/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ router.get('/project', (_req, res) => {
6363
})
6464

6565
router.post('/project', (req, res) => {
66-
if (req.id) {
66+
if (req.project) {
6767
const plugin = Manager.getPlugin(req.sender)
6868
if (!UiState.isSaved()) {
6969
ModalState.showAlert({

0 commit comments

Comments
 (0)