visuddhinanda 3 ani în urmă
părinte
comite
7a77fcf523
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  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;