Browse Source

url 必选

visuddhinanda 3 năm trước cách đây
mục cha
commit
7a77fcf523
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      dashboard/src/components/api/Attachments.ts

+ 2 - 2
dashboard/src/components/api/Attachments.ts

@@ -8,8 +8,8 @@ export interface IAttachmentRequest {
   uid: string;
   name?: string;
   size?: number;
-  type?: string;
-  url?: string;
+  type: string;
+  url: string;
 }
 export interface IAttachmentResponse {
   ok: boolean;