Compare commits

..

No commits in common. "development-local" and "1.5.2-alpha.1" have entirely different histories.

3 changed files with 1 additions and 5 deletions

View File

@ -48,9 +48,7 @@ export class SalesPriceFormulaDataService extends BaseDataService<SalesPriceForm
}
async sentToBlackHole() {
const transactionSettingData = await this.transactionSetting.findOne({
where: {},
});
const transactionSettingData = await this.transactionSetting.findOne({});
const percentage = transactionSettingData?.value ?? 100;
// const transactionPercentage = Math.floor(Math.random() * 100) + 1;

View File

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

View File

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