2
1
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2023-12-13 21:00:40 +01:00

Corrected debug in base model

no issue
This commit is contained in:
kirrg001 2019-02-07 22:08:52 +01:00
parent 7810140f15
commit 50da5d9bab

View file

@ -179,7 +179,7 @@ ghostBookshelf.Model = ghostBookshelf.Model.extend({
return;
}
debug(model.tableName, event);
debug(model.tableName, ghostEvent);
// @NOTE: Internal Ghost events. These are very granular e.g. post.published
common.events.emit(ghostEvent, model, _.omit(options, 'transacting'));