mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 13:37:09 -04:00
Fixup(ostrio-files): wrong export
This commit is contained in:
parent
5af78c6990
commit
47397e5be3
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
import { createObjectId } from '../grid/createObjectId';
|
||||
|
||||
const createInterceptDownload = bucket =>
|
||||
export const createInterceptDownload = bucket =>
|
||||
function interceptDownload(http, file, versionName) {
|
||||
const { gridFsFileId } = file.versions[versionName].meta || {};
|
||||
if (gridFsFileId) {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { createObjectId } from '../grid/createObjectId';
|
||||
|
||||
const createOnAfterRemove = bucket =>
|
||||
export const createOnAfterRemove = bucket =>
|
||||
function onAfterRemove(files) {
|
||||
files.forEach(file => {
|
||||
Object.keys(file.versions).forEach(versionName => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue