When updating cases, update existing case embed in case log channel if possible

This commit is contained in:
Dragory 2020-08-10 02:35:47 +03:00
parent 7cd58c2b6d
commit 19a82b767f
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1
4 changed files with 46 additions and 4 deletions

View file

@ -29,6 +29,12 @@ export class Case {
@Column() pp_name: string;
/**
* ID of the channel and message where this case was logged.
* Format: "channelid-messageid"
*/
@Column() log_message_id: string;
@OneToMany(
type => CaseNote,
note => note.case,