problem with objectId with bson and such in models but fixed it and nice rendering everything now
This commit is contained in:
@@ -10,7 +10,7 @@ export default class Relationship {
|
||||
public createdDate: Date = new Date(),
|
||||
public lastUpdatedDate: Date = new Date(),
|
||||
|
||||
public _id: ObjectId = new ObjectId()
|
||||
public _id?: ObjectId
|
||||
) {}
|
||||
}
|
||||
|
||||
@@ -18,4 +18,5 @@ export enum RelationshipState {
|
||||
PENDING = "PENDING",
|
||||
ACTIVE = "ACTIVE",
|
||||
BLOCKED = "BLOCKED",
|
||||
DENIED = "DENIED",
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ export default class GetConversationDetailsResponse {
|
||||
|
||||
constructor(
|
||||
public contactUser: User,
|
||||
isLiveOrPinned: boolean,
|
||||
public isLiveOrPinned: boolean,
|
||||
public ourRelationship?: Relationship,
|
||||
public latestContent?: Content[]
|
||||
) {}
|
||||
|
||||
Reference in New Issue
Block a user