Skip to content

Commit

Permalink
Merge pull request #4 from trekawek/incorrect-blob-type-on-copy
Browse files Browse the repository at this point in the history
Incorrect blob type when fetching the copy status #3
  • Loading branch information
arafato authored Mar 22, 2018
2 parents 83c561d + b418c5b commit 65e0e26
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/core/blob/StorageManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,8 @@ class StorageManager {
to = fs.createWriteStream(env.diskStorageUri(request.id));
from.pipe(to);

request.entityType = sourceProxy.original.entityType;

const coll = this.db.getCollection(request.containerName),
blobProxyDestination = this._createOrUpdateBlob(coll, request),
copyId = uuidv4();
Expand Down

0 comments on commit 65e0e26

Please sign in to comment.