See #192: use nodeinfo/2.0 namespace to be future proof
This commit is contained in:
parent
b536e5a1f9
commit
6ff8c2c8da
3 changed files with 4 additions and 4 deletions
|
|
@ -77,7 +77,7 @@ export default {
|
|||
var self = this
|
||||
this.isLoading = true
|
||||
logger.default.debug('Fetching instance stats...')
|
||||
axios.get('instance/nodeinfo/').then((response) => {
|
||||
axios.get('instance/nodeinfo/2.0/').then((response) => {
|
||||
let d = response.data
|
||||
self.stats = {}
|
||||
self.stats.users = _.get(d, 'usage.users.total')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue