mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 03:06:31 -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 {
|
private chooseBackendType(): BackendType {
|
||||||
switch (this.mediaConfig.backend.use) {
|
switch (this.mediaConfig.backend.use as string) {
|
||||||
case 'filesystem':
|
case 'filesystem':
|
||||||
return BackendType.FILESYSTEM;
|
return BackendType.FILESYSTEM;
|
||||||
case 'azure':
|
case 'azure':
|
||||||
|
|
Loading…
Reference in a new issue