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

View File

@@ -4,7 +4,7 @@ import { queryFromId, queryToId, queryCcId } from "./utils/addressQueries";
export async function getAllMembers(messageId: number) {
const query = `
SELECT GROUP_CONCAT(address.address_id) AS is
SELECT GROUP_CONCAT(address.address_id) AS id
FROM address
INNER JOIN address_field ON
address_field.address_id = address.address_id AND