Browse Source

url 必选

visuddhinanda 3 years ago
parent
commit
7a77fcf523
1 changed files with 2 additions and 2 deletions
  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;
   uid: string;
   name?: string;
   name?: string;
   size?: number;
   size?: number;
-  type?: string;
-  url?: string;
+  type: string;
+  url: string;
 }
 }
 export interface IAttachmentResponse {
 export interface IAttachmentResponse {
   ok: boolean;
   ok: boolean;