feat: Adds the ability to add new locale in portal (#5363)
This commit is contained in:
parent
7f3f6f7129
commit
504d339dd7
11 changed files with 193 additions and 206 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue