fix: make transaction setting public

development-local 1.5.2-alpha.3
shancheas 2025-05-02 11:25:33 +07:00
parent 66d76634b7
commit e92f325807
2 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,7 @@ export class SalesPriceFormulaDataController {
return await this.orchestrator.update(data);
}
@Public(true)
@Put()
async updateTransactionSetting(
@Body() data: TransactionSettingDto,

View File

@ -16,6 +16,7 @@ export class SalesPriceFormulaReadController {
return await this.orchestrator.detail();
}
@Public(true)
@Get('detail')
async getTransactionSetting(): Promise<any> {
return await this.orchestrator.getTransactionSetting();