Skip to content

Commit

Permalink
[client-sync] Correctly pass path when processing bodies
Browse files Browse the repository at this point in the history
Summary: see title

Test Plan: manual

Reviewers: mark

Differential Revision: https://phab.nylas.com/D4447
  • Loading branch information
jstejada committed Apr 18, 2017
1 parent daf7f9e commit d407699
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/isomorphic-core/src/message-body-utils.es6
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export function pathForBodyFile(msgId) {
remainingId = remainingId.substring(2);
}
const bodyPath = path.join(...pathGroups);
return path.join(baseMessagePath, bodyPath, `${remainingId}.${FILE_EXTENSION}`);
return path.join(baseMessagePath(), bodyPath, `${remainingId}.${FILE_EXTENSION}`);
}

// NB: The return value of this function is what gets written into the database.
Expand Down

0 comments on commit d407699

Please sign in to comment.