changed formatting/qoutes to better match the master (less changes)
This commit is contained in:
parent
7d203b50a3
commit
34218cdc4a
@ -139,11 +139,6 @@ import * as bootstrap from 'bootstrap';
|
||||
import BootstrapAlert from "@/components/BootstrapAlert.vue";
|
||||
import { handleResponse, authHeader } from '@/utils/authentication';
|
||||
|
||||
declare interface Channel {
|
||||
name: string
|
||||
max_power: number
|
||||
}
|
||||
|
||||
declare interface Inverter {
|
||||
id: string,
|
||||
serial: number,
|
||||
@ -204,8 +199,8 @@ export default defineComponent({
|
||||
const formData = new FormData();
|
||||
formData.append("data", jsonData);
|
||||
|
||||
fetch('/api/inverter/' + endpoint, {
|
||||
method: 'POST',
|
||||
fetch("/api/inverter/" + endpoint, {
|
||||
method: "POST",
|
||||
headers: authHeader(),
|
||||
body: formData,
|
||||
})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user