feat: Adds the ability to add new locale in portal (#5363)

This commit is contained in:
Muhsin Keloth 2022-09-01 22:19:30 +05:30 committed by GitHub
parent 7f3f6f7129
commit 504d339dd7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 193 additions and 206 deletions

View file

@ -6,8 +6,8 @@ class PortalsAPI extends ApiClient {
super('portals', { accountScoped: true });
}
updatePortal({ portalSlug, params }) {
return axios.patch(`${this.url}/${portalSlug}`, params);
updatePortal({ portalSlug, portalObj }) {
return axios.patch(`${this.url}/${portalSlug}`, portalObj);
}
deletePortal(portalSlug) {