Alpha Release 0.2.0 #109
@ -59,7 +59,7 @@ export class ContactController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
contact = await this.contactRepository.save(contact)
|
contact = await this.contactRepository.save(contact)
|
||||||
return (await this.contactRepository.findOne(contact, { relations: ['groups'] })).toResponse();
|
return (await this.contactRepository.findOne({ id: contact.id }, { relations: ['groups'] })).toResponse();
|
||||||
}
|
}
|
||||||
|
|
||||||
// @Put('/:id')
|
// @Put('/:id')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user