mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 20:30:33 +00:00
refactor(nestjs): wip
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user