Skip to content

Commit d407699

Browse files
committed
[client-sync] Correctly pass path when processing bodies
Summary: see title Test Plan: manual Reviewers: mark Differential Revision: https://phab.nylas.com/D4447
1 parent daf7f9e commit d407699

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/isomorphic-core/src/message-body-utils.es6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export function pathForBodyFile(msgId) {
3333
remainingId = remainingId.substring(2);
3434
}
3535
const bodyPath = path.join(...pathGroups);
36-
return path.join(baseMessagePath, bodyPath, `${remainingId}.${FILE_EXTENSION}`);
36+
return path.join(baseMessagePath(), bodyPath, `${remainingId}.${FILE_EXTENSION}`);
3737
}
3838

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

0 commit comments

Comments
 (0)