diff --git a/src/db/BadgeHubDataPostgresAdapter.ts b/src/db/BadgeHubDataPostgresAdapter.ts index 69feb0d..9fbf7a0 100644 --- a/src/db/BadgeHubDataPostgresAdapter.ts +++ b/src/db/BadgeHubDataPostgresAdapter.ts @@ -58,10 +58,9 @@ export class BadgeHubDataPostgresAdapter implements BadgeHubDataPort { } async insertUser(user: DBInsertUser): Promise { - const { keys, values } = getInsertKeysAndValuesSql(user); - const insertQuery = sql`insert into users (${keys}) - values (${values})`; - await this.pool.query(insertQuery); + // TODO implement with proper password management + + throw new Error("Method not implemented."); } async getCategories(): Promise {