mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-21 17:26:29 -05:00
fix(media-service): correct type in chooseBackendType
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
422b28fe55
commit
a607128b78
1 changed files with 1 additions and 1 deletions
|
@ -196,7 +196,7 @@ export class MediaService {
|
|||
}
|
||||
|
||||
private chooseBackendType(): BackendType {
|
||||
switch (this.mediaConfig.backend.use) {
|
||||
switch (this.mediaConfig.backend.use as string) {
|
||||
case 'filesystem':
|
||||
return BackendType.FILESYSTEM;
|
||||
case 'azure':
|
||||
|
|
Loading…
Reference in a new issue