provisioning needs to call other api endpoints as dashboard
This commit is contained in:
@@ -25,7 +25,7 @@ function create() {
|
||||
}
|
||||
|
||||
if (error || result.status !== 200) return [error || result];
|
||||
return [null, result.body];
|
||||
return [null, result.body.devices];
|
||||
},
|
||||
async createAdmin(data) {
|
||||
let error, result;
|
||||
|
||||
Reference in New Issue
Block a user