Fix referenceId +1 error and spelling mistakes

Add demo
This commit is contained in:
Dolan
2018-01-30 01:16:48 +00:00
parent 989446ef36
commit c873abfe18
12 changed files with 46 additions and 21 deletions

View File

@ -26,7 +26,7 @@ export class Media {
const dimensions = sizeOf(filePath);
const imageData = {
referenceId: this.map.size + relationshipsCount,
referenceId: this.map.size + relationshipsCount + 1,
stream: fs.createReadStream(filePath),
path: filePath,
fileName: key,