feat: Create portal UI improvements (#5261)

This commit is contained in:
Muhsin Keloth 2022-08-18 17:11:19 +05:30 committed by GitHub
parent ea918d9c5a
commit a788e7ac7a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 629 additions and 57 deletions

View file

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