edit category from param to query

This commit is contained in:
faris Aljohari
2024-09-15 18:09:34 +03:00
parent d962d4a7b3
commit 5b6dcc1440
4 changed files with 20 additions and 6 deletions

View File

@ -1,7 +1,7 @@
import { Injectable, HttpException, HttpStatus } from '@nestjs/common';
import { TuyaContext } from '@tuya/tuya-connector-nodejs';
import { ConfigService } from '@nestjs/config';
import { AddScheduleDto, EnableScheduleDto } from '../dtos/add.schedule.dto';
import { AddScheduleDto, EnableScheduleDto } from '../dtos/schedule.dto';
import {
addScheduleDeviceInterface,
getDeviceScheduleInterface,