import { RobotArmAPI } from '../../../controllers/robot-arm-api'

export const robotArmGoHome = {
  async robotArmGoHome(_: any, { name }, context: any) {
    const { domain } = context.state

    return RobotArmAPI.goHome(domain, name)
  }
}
