Skip to content

Commit

Permalink
fix: filestore delete throwing error
Browse files Browse the repository at this point in the history
  • Loading branch information
ec2sw committed Sep 12, 2022
1 parent b6b8ebb commit 8f861b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/models/file-store/file-store.model.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,10 @@ class FileStore extends Model {
throw new Error('New File store being created, please try again later.');
}

const changeList = {
const changeList = [{
action: 'delete',
key: encodeHex(SHA256),
};
}];

datalayer.pushDataLayerChangeList(fileStoreId, changeList);

Expand Down

0 comments on commit 8f861b2

Please sign in to comment.