mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 02:54:15 +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,
|
||||
}
|
||||
|
||||
api = window.app.api.withEndpoints("main")
|
||||
api = window.app.cores.api.withEndpoints("main")
|
||||
|
||||
componentDidMount = async () => {
|
||||
if (!this.props.user && this.props.userId) {
|
||||
|
@ -12,7 +12,7 @@ export default class UserRolesManager extends React.Component {
|
||||
roles: null,
|
||||
}
|
||||
|
||||
api = window.app.api.withEndpoints("main")
|
||||
api = window.app.cores.api.withEndpoints("main")
|
||||
|
||||
componentDidMount = async () => {
|
||||
await this.fetchRoles()
|
||||
|
Loading…
x
Reference in New Issue
Block a user