Compare commits
No commits in common. "development-local" and "1.5.2-alpha.1" have entirely different histories.
developmen
...
1.5.2-alph
|
@ -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;
|
||||
|
|
|
@ -25,7 +25,6 @@ export class SalesPriceFormulaDataController {
|
|||
return await this.orchestrator.update(data);
|
||||
}
|
||||
|
||||
@Public(true)
|
||||
@Put()
|
||||
async updateTransactionSetting(
|
||||
@Body() data: TransactionSettingDto,
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue