use api core

This commit is contained in:
SrGooglo 2023-02-24 14:31:52 +00:00
parent f917de0dcf
commit a159a5b2e4

View File

@ -12,7 +12,7 @@ export default class ImageUploader extends React.Component {
urlList: [],
}
api = window.app.api.withEndpoints("main")
api = window.app.cores.api.withEndpoints("main")
handleChange = ({ fileList }) => {
this.setState({ fileList })