fix some errors on front

This commit is contained in:
grimhilt
2023-04-02 13:36:59 +02:00
parent 02e0e05c76
commit 8258581435
13 changed files with 546 additions and 311 deletions

View File

@@ -1,7 +1,6 @@
import { execQueryAsync, execQueryAsyncWithId } from "./db";
export async function getAddresseId(email: string, name?: string): Promise<number> {
console.log("get address id")
const localpart = email.split("@")[0];
const domain = email.split("@")[1];
const query = `INSERT INTO address