changed formatting/qoutes to better match the master (less changes)

This commit is contained in:
Michael Wilk 2022-11-14 14:52:41 +01:00
parent 7d203b50a3
commit 34218cdc4a

View File

@ -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,
})