mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 06:35:49 +03:00
🐛 Fixed error when importing members
fixes TryGhost/Team#2266 The getCreatedEvents method was removed but was still used in the verification trigger. This commit adds the method again as a quick fix. A better fix will be commited later: https://github.com/TryGhost/Ghost/pull/15831, which includes tests that also have been ran on this change (but keeping it out of this commit to keep changes minimal).
This commit is contained in:
parent
718657a8f4
commit
5ea06e5a0c
@ -294,6 +294,13 @@ module.exports = class EventRepository {
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated Do not use
|
||||
*/
|
||||
async getCreatedEvents(options = {}, filter) {
|
||||
return await this.getSignupEvents(options, filter);
|
||||
}
|
||||
|
||||
async getSignupEvents(options = {}, filter) {
|
||||
options = {
|
||||
...options,
|
||||
|
Loading…
Reference in New Issue
Block a user