fix: missing type
This commit is contained in:
parent
1cea8830d6
commit
e58141b864
1 changed files with 10 additions and 0 deletions
|
|
@ -25,6 +25,16 @@ if (!process.env.MINIO_BUCKET) {
|
||||||
|
|
||||||
const MINIO_BUCKET = 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) {
|
function imageLocation(id: string) {
|
||||||
return `branch/contact-${id}`;
|
return `branch/contact-${id}`;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue