fix: missing type

This commit is contained in:
Methapon2001 2024-04-02 14:08:07 +07:00
parent 1cea8830d6
commit e58141b864

View file

@ -25,6 +25,16 @@ if (!process.env.MINIO_BUCKET) {
const MINIO_BUCKET = process.env.MINIO_BUCKET;
type BranchContactCreate = {
lineId: string;
telephoneNo: string;
};
type BranchContactUpdate = {
lineId?: string;
telephoneNo?: string;
};
function imageLocation(id: string) {
return `branch/contact-${id}`;
}