From 4e69d834578c14215dbeef929813344a70c7ca72 Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Thu, 27 May 2021 20:01:50 +0200 Subject: :construction: file storage --- src/util/Storage.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/util/Storage.ts') 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; - get(hash: string, prefix?: string): Promise; + set(path: string, data: any): Promise; + get(path: string): Promise; } var storage: Storage; -- cgit 1.5.1