feat: Create portal UI improvements (#5261)
This commit is contained in:
parent
ea918d9c5a
commit
a788e7ac7a
20 changed files with 629 additions and 57 deletions
|
@ -1,9 +1,14 @@
|
|||
/* global axios */
|
||||
import ApiClient from '../ApiClient';
|
||||
|
||||
class PortalsAPI extends ApiClient {
|
||||
constructor() {
|
||||
super('portals', { accountScoped: true });
|
||||
}
|
||||
|
||||
updatePortal({ portalSlug, params }) {
|
||||
return axios.patch(`${this.url}/${portalSlug}`, params);
|
||||
}
|
||||
}
|
||||
|
||||
export default PortalsAPI;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue