remove lastEdited date from object
This commit is contained in:
@@ -29,7 +29,6 @@ export interface ChatMessage {
|
|||||||
export interface MessageObject {
|
export interface MessageObject {
|
||||||
id: string;
|
id: string;
|
||||||
title: string;
|
title: string;
|
||||||
isoDateLastEdited: string;
|
|
||||||
contentVersions: MessageObjectContent[];
|
contentVersions: MessageObjectContent[];
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -302,7 +301,6 @@ export class Chat {
|
|||||||
return {
|
return {
|
||||||
id: React.UUID(),
|
id: React.UUID(),
|
||||||
title,
|
title,
|
||||||
isoDateLastEdited: new Date().toISOString(),
|
|
||||||
contentVersions: [this.createObjectContent()],
|
contentVersions: [this.createObjectContent()],
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user