Prettier Changes

This commit is contained in:
Neshura 2024-01-02 02:39:22 +01:00
parent 829e911674
commit 5bd01c3a22
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C
10 changed files with 69 additions and 79 deletions
src/routes/data/services

View file

@ -1,10 +1,10 @@
import * as fs from "fs";
import {json} from "@sveltejs/kit";
import * as fs from 'fs';
import { json } from '@sveltejs/kit';
export function GET() {
const content = fs.readFileSync("static/data/services.json").toString();
const content = fs.readFileSync('static/data/services.json').toString();
let data = JSON.parse(content)
let data = JSON.parse(content);
return json(data);
}
return json(data);
}