feat: branch contact controller
This commit is contained in:
parent
d6aa0385cd
commit
aa182a314e
1 changed files with 32 additions and 0 deletions
32
src/controllers/branch/contact-controller.ts
Normal file
32
src/controllers/branch/contact-controller.ts
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
import {
|
||||
Body,
|
||||
Controller,
|
||||
Delete,
|
||||
Get,
|
||||
Patch,
|
||||
Path,
|
||||
Post,
|
||||
Query,
|
||||
Request,
|
||||
Route,
|
||||
Security,
|
||||
Tags,
|
||||
} from "tsoa";
|
||||
|
||||
import prisma from "../../db";
|
||||
import minio from "../../services/minio";
|
||||
import HttpError from "../../interfaces/http-error";
|
||||
import HttpStatus from "../../interfaces/http-status";
|
||||
import { RequestWithUser } from "../../interfaces/user";
|
||||
|
||||
if (!process.env.MINIO_BUCKET) {
|
||||
throw Error("Require MinIO bucket.");
|
||||
}
|
||||
|
||||
const MINIO_BUCKET = process.env.MINIO_BUCKET;
|
||||
|
||||
@Route("api/branch/{branchId}/contact")
|
||||
@Tags("Branch Contact")
|
||||
@Security("keycloak")
|
||||
export class BranchContactController extends Controller {
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue