12 lines
365 B
JavaScript
12 lines
365 B
JavaScript
import { getStore } from './store.js';
|
|
|
|
export async function getImageByHash(googleAuthId, fullHash) {
|
|
const store = await getStore();
|
|
return store.pic.getImageByHash(googleAuthId, fullHash);
|
|
}
|
|
|
|
export async function getThumbByHash(googleAuthId, fullHash) {
|
|
const store = await getStore();
|
|
return store.pic.getThumbByHash(googleAuthId, fullHash);
|
|
}
|