Update contact.service.ts
This commit is contained in:
@@ -59,8 +59,6 @@ export class ContactService {
|
|||||||
newState: RelationshipState
|
newState: RelationshipState
|
||||||
) {
|
) {
|
||||||
const query = { _id: new ObjectId(relationshipId) };
|
const query = { _id: new ObjectId(relationshipId) };
|
||||||
console.log(newState);
|
|
||||||
console.log(relationshipId);
|
|
||||||
const updateDoc = {
|
const updateDoc = {
|
||||||
$set: { state: newState, lastUpdatedDate: new Date() },
|
$set: { state: newState, lastUpdatedDate: new Date() },
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user