mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-25 00:25:03 +08:00
[client-sync] Correctly pass path when processing bodies
Summary: see title Test Plan: manual Reviewers: mark Differential Revision: https://phab.nylas.com/D4447
This commit is contained in:
parent
daf7f9ec6f
commit
d407699a44
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue