fix(constant) penambahan endpoint constant payment type
continuous-integration/drone/tag Build is passing Details

pull/2/head devel_10.2.3
ashar 2024-06-12 17:16:37 +07:00
parent 1ebf6a5c30
commit aa3c8fa359
1 changed files with 6 additions and 0 deletions

View File

@ -4,6 +4,7 @@ import { Public } from 'src/core/guards';
import { STATUS } from 'src/core/strings/constants/base.constants';
import { ItemType } from 'src/modules/item-related/item-category/constants';
import { LimitType } from 'src/modules/item-related/item/constants';
import { PaymentMethodType } from 'src/modules/transaction/payment-method/constants';
@ApiTags('configuration - constant')
@Controller('constant')
@ -25,4 +26,9 @@ export class ConstantController {
async limitType(): Promise<any> {
return Object.values(LimitType);
}
@Get('payment-type')
async paymentMethodType(): Promise<any> {
return Object.values(PaymentMethodType);
}
}