Delete unrelated testing stuff

This commit is contained in:
Wroclaw 2023-11-06 19:48:35 +01:00
parent 1d893c4a78
commit be1e3909b6

View file

@ -1,9 +0,0 @@
import { defineEventHandler } from "h3";
import { database } from "~/server/utils/database";
export default defineEventHandler(async (e) => {
if (!e.context.params?.id) return Error("id is not provided");
const rowID = e.context.params.id;
await database.execute("DELETE FROM `sch_baza_smartfony`.`lombardy` WHERE `id` = ?", [rowID]);
});