🐛 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:
Simon Backx 2022-11-15 13:20:10 +01:00
parent 718657a8f4
commit 5ea06e5a0c

View File

@ -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,