Files
dashback/src/db/account.js
2026-10-09 10:41:21 +02:00

17 lines
448 B
JavaScript

import { getStore } from './store.js';
export async function list(googleAuthId) {
const store = await getStore();
return store.account.list(googleAuthId);
}
export async function create(googleAuthId, data) {
const store = await getStore();
return store.account.create(googleAuthId, data);
}
export async function remove(googleAuthId, id) {
const store = await getStore();
return store.account.delete(googleAuthId, id);
}