Send dhcp/find_active_dhcp as POST request

This commit is contained in:
Ildar Kamalov 2018-12-13 14:39:59 +03:00 committed by Eugene Bujak
parent d46b65f982
commit a74c2248fb
3 changed files with 4 additions and 4 deletions
client/src/api

View file

@ -306,7 +306,7 @@ export default class Api {
// DHCP
DHCP_STATUS = { path: 'dhcp/status', method: 'GET' };
DHCP_SET_CONFIG = { path: 'dhcp/set_config', method: 'POST' };
DHCP_FIND_ACTIVE = { path: 'dhcp/find_active_dhcp', method: 'GET' };
DHCP_FIND_ACTIVE = { path: 'dhcp/find_active_dhcp', method: 'POST' };
getDhcpStatus() {
const { path, method } = this.DHCP_STATUS;