Fixup(ostrio-files): wrong export

This commit is contained in:
David Arnold 2020-09-15 16:42:56 -05:00 committed by Denis Perov
parent 5af78c6990
commit 47397e5be3
2 changed files with 2 additions and 2 deletions

View file

@ -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) {

View file

@ -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 => {