Delete unrelated testing stuff
This commit is contained in:
parent
1d893c4a78
commit
be1e3909b6
1 changed files with 0 additions and 9 deletions
|
@ -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]);
|
|
||||||
});
|
|
Loading…
Reference in a new issue