MediaBackendInterface: Remove getFileURL

closes #957

Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
Philip Molares 2021-02-26 16:15:46 +01:00
parent 8326fb6aaa
commit d83e0004b7

View file

@ -16,14 +16,6 @@ export interface MediaBackend {
*/
saveFile(buffer: Buffer, fileName: string): Promise<[string, BackendData]>;
/**
* Retrieve the URL of a previously saved file.
* @param fileName String to identify the file
* @param backendData Internal backend data
* @throws {MediaBackendError} - there was an error deleting the file
*/
getFileURL(fileName: string, backendData: BackendData): Promise<string>;
/**
* Delete a file from the backend
* @param fileName String to identify the file