mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
Remove dynamic generation of static resource_type
no-issue
This commit is contained in:
parent
e3c3633183
commit
5d7ad0518a
1 changed files with 1 additions and 1 deletions
|
@ -627,7 +627,7 @@ Post = ghostBookshelf.Model.extend({
|
|||
return {
|
||||
event: event,
|
||||
resource_id: this.id || this.previous('id'),
|
||||
resource_type: this.tableName.replace(/s$/, ''),
|
||||
resource_type: 'post',
|
||||
actor_id: actor.id,
|
||||
actor_type: actor.type
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue