You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

4 lines
255 B

  1. import http from 'libs/http'
  2. export const debugControl = <T>(params: System.CmdControlParams<T>): Promise<null> => http.post('/debug/cmd', params)
  3. export const control = <T>(params: System.CmdControlParams<T>): Promise<null> => http.post('/cmd', params)