fix: missing auth
This commit is contained in:
parent
41c27dced5
commit
62bbc0a071
1 changed files with 1 additions and 0 deletions
|
|
@ -34,6 +34,7 @@ function imageLocation(id: string) {
|
||||||
|
|
||||||
@Route("api/customer")
|
@Route("api/customer")
|
||||||
@Tags("Customer")
|
@Tags("Customer")
|
||||||
|
@Security("keycloak")
|
||||||
export class CustomerController extends Controller {
|
export class CustomerController extends Controller {
|
||||||
@Post()
|
@Post()
|
||||||
async create(@Request() req: RequestWithUser, @Body() body: CustomerCreate) {
|
async create(@Request() req: RequestWithUser, @Body() body: CustomerCreate) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue