mirror of
https://github.com/MrSedan/neuro-reply-website.git
synced 2026-01-15 13:09:43 +03:00
Added edit_timestamp col to post
This commit is contained in:
@@ -41,7 +41,7 @@ export class PostService {
|
||||
}
|
||||
if (post.text !== data.text) {
|
||||
post.text = data.text;
|
||||
post.timestamp = new Date();
|
||||
post.edit_timestamp = new Date();
|
||||
await this.postRepository.save(post);
|
||||
}
|
||||
return post;
|
||||
|
||||
Reference in New Issue
Block a user