mirror of
https://github.com/flarum/core.git
synced 2025-10-11 06:54:26 +02:00
Better handling of API server errors
This commit is contained in:
@@ -36,7 +36,7 @@ export default class Store {
|
||||
endpoint += '/'+id
|
||||
params = query
|
||||
}
|
||||
return m.request({
|
||||
return app.request({
|
||||
method: 'GET',
|
||||
url: app.config['api_url']+'/'+endpoint,
|
||||
data: params,
|
||||
|
Reference in New Issue
Block a user