mirror of
https://github.com/Doodle3D/Doodle3D-API
synced 2024-06-16 18:01:22 +02:00
11 lines
225 B
JavaScript
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);
|
|
}
|
|
}
|