mirror of
https://github.com/SyncrowIOT/backend.git
synced 2026-10-24 12:57:54 +00:00
Refactor code to remove duplicate code and improve readability
This commit is contained in:
@@ -303,8 +303,6 @@ export class UnitService {
|
||||
type: updatedUnit.spaceType.type,
|
||||
};
|
||||
} catch (err) {
|
||||
console.log('err', err);
|
||||
|
||||
if (err instanceof BadRequestException) {
|
||||
throw err;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user