BREAKING CHANGE(classes.ghost): Remove Settings and Webhooks browse/read APIs, remove noisy console.error logs, and update tests/docs
This commit is contained in:
@@ -71,7 +71,6 @@ export class Member {
|
||||
this.memberData = updatedMemberData;
|
||||
return this;
|
||||
} catch (error) {
|
||||
console.error('Error updating member:', error);
|
||||
throw error;
|
||||
}
|
||||
}
|
||||
@@ -80,7 +79,6 @@ export class Member {
|
||||
try {
|
||||
await this.ghostInstanceRef.adminApi.members.delete({ id: this.getId() });
|
||||
} catch (error) {
|
||||
console.error(`Error deleting member with id ${this.getId()}:`, error);
|
||||
throw error;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user