Skip to content

Commit

Permalink
fix: region undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
NichArchA82 committed Jan 8, 2025
1 parent 3f55f9f commit bfc534b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion command-handler/src/commands/vm.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export default {
const { imageID, imageName, region, serverType } = JSON.parse(body.actions[0].value);
hetzner.createServer({ app, body, imageID, imageName, region, serverType });
} else if (actionId.startsWith('button_create_image_libvirt')) {
const { imageName, instanceType } = JSON.parse(body.actions[0].value);
const { imageName, region, instanceType } = JSON.parse(body.actions[0].value);
libvirt.createServer({ app, body, imageName, region, instanceType });
} else if (actionId === 'button_create_vm_hetzner') {
//select the hetzner server to create before calling the create server
Expand Down

0 comments on commit bfc534b

Please sign in to comment.