0
0
mirror of https://github.com/Doodle3D/Doodle3D-API synced 2024-06-16 18:01:22 +02:00
Doodle3D-API/src/api/system.js
2017-11-30 17:23:13 +01:00

11 lines
225 B
JavaScript

import { parseFetch } from '../utils.js';
export default class System {
constructor(api) {
this.api = api;
}
versions() {
return fetch(`${this.api}system/fwversions`, { method: 'GET' }).then(parseFetch);
}
}