mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-11 03:24:16 +00:00
update api
This commit is contained in:
parent
34f4623a36
commit
e1b52fb382
@ -71,7 +71,7 @@ export default class UserDataManager extends React.Component {
|
|||||||
loading: false,
|
loading: false,
|
||||||
}
|
}
|
||||||
|
|
||||||
api = window.app.api.withEndpoints("main")
|
api = window.app.cores.api.withEndpoints("main")
|
||||||
|
|
||||||
componentDidMount = async () => {
|
componentDidMount = async () => {
|
||||||
if (!this.props.user && this.props.userId) {
|
if (!this.props.user && this.props.userId) {
|
||||||
|
@ -12,7 +12,7 @@ export default class UserRolesManager extends React.Component {
|
|||||||
roles: null,
|
roles: null,
|
||||||
}
|
}
|
||||||
|
|
||||||
api = window.app.api.withEndpoints("main")
|
api = window.app.cores.api.withEndpoints("main")
|
||||||
|
|
||||||
componentDidMount = async () => {
|
componentDidMount = async () => {
|
||||||
await this.fetchRoles()
|
await this.fetchRoles()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user