u
This commit is contained in:
11
src/db/pic.js
Normal file
11
src/db/pic.js
Normal file
@@ -0,0 +1,11 @@
|
||||
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);
|
||||
}
|
||||
Reference in New Issue
Block a user