summary refs log tree commit diff
path: root/src/util/Storage.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-05-27 20:01:50 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-05-27 20:01:50 +0200
commit4e69d834578c14215dbeef929813344a70c7ca72 (patch)
tree187eaf12ca04194c21f03ccb805ce66c2b4afbbb /src/util/Storage.ts
parent:construction: attachment (diff)
downloadserver-4e69d834578c14215dbeef929813344a70c7ca72.tar.xz
:construction: file storage
Diffstat (limited to 'src/util/Storage.ts')
-rw-r--r--src/util/Storage.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/Storage.ts b/src/util/Storage.ts

index ad00fbb7..391afa83 100644 --- a/src/util/Storage.ts +++ b/src/util/Storage.ts
@@ -1,8 +1,8 @@ import { FileStorage } from "./FileStorage"; export interface Storage { - set(hash: string, data: any, prefix?: string): Promise<void>; - get(hash: string, prefix?: string): Promise<any>; + set(path: string, data: any): Promise<void>; + get(path: string): Promise<any>; } var storage: Storage;