feat(org): Added admin subscribers page
This commit is contained in:
parent
71b57adaf7
commit
f1e407d789
3 changed files with 157 additions and 18 deletions
|
@ -597,6 +597,14 @@ Backend.prototype.adminImpersonateUser = async function (id) {
|
|||
return responseHandler(await api.get(`/admin/impersonate/${id}/jwt`, this.auth))
|
||||
}
|
||||
|
||||
/*
|
||||
* Load newsletter subscribers (admin method)
|
||||
*/
|
||||
Backend.prototype.adminLoadSubscribers = async function () {
|
||||
console.log(this.auth)
|
||||
return responseHandler(await api.get(`/admin/subscribers/jwt`, this.auth))
|
||||
}
|
||||
|
||||
/*
|
||||
* Verify an admin account while impersonating another user
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue