feat: add security to attachment of quotation

This commit is contained in:
Methapon Metanipat 2024-11-01 16:32:42 +07:00
parent 5296f6d6a4
commit 8feca848f2

View file

@ -231,6 +231,7 @@ export class PaymentFileController extends Controller {
} }
@Get("{name}") @Get("{name}")
@Security("keycloak")
async getAttachment( async getAttachment(
@Request() req: RequestWithUser, @Request() req: RequestWithUser,
@Path() paymentId: string, @Path() paymentId: string,