mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-11-26 07:54:53 +00:00
no need to do anything if delete dto is empty
This commit is contained in:
@ -137,7 +137,7 @@ export class SubSpaceModelService {
|
||||
) {
|
||||
try {
|
||||
if (!deleteDtos || deleteDtos.length === 0) {
|
||||
throw new Error('No subspaces provided for deletion.');
|
||||
return;
|
||||
}
|
||||
|
||||
const deleteResults = [];
|
||||
|
||||
Reference in New Issue
Block a user