refactor(nestjs): wip

This commit is contained in:
Ahmed Bouhuolia
2025-05-27 15:42:27 +02:00
parent 83c9392b74
commit b7a3c42074
33 changed files with 186 additions and 72 deletions

View File

@@ -76,8 +76,13 @@ export class BranchesController {
status: 200,
description: 'The branches feature has been successfully activated.',
})
activateBranches() {
return this.branchesApplication.activateBranches();
async activateBranches() {
await this.branchesApplication.activateBranches();
return {
code: 200,
message: 'The branches activated successfully.',
};
}
@Put(':id/mark-as-primary')