Skip to content

Commit

Permalink
fix: hash路径小写
Browse files Browse the repository at this point in the history
  • Loading branch information
terwer committed May 23, 2023
1 parent a0ed94c commit 38a2972
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/kernel-api.ts
Expand Up @@ -113,7 +113,7 @@ class KernelApi extends BaseApi {
*/
public async convertPandoc(type: string, from: string, to: string): Promise<SiyuanData> {
const args = {
args: ["--to", type, from, "-o", to, "--extract-media", `${mediaDir}/${shortHash(from)}`, "--wrap=none"],
args: ["--to", type, from, "-o", to, "--extract-media", `${mediaDir}/${shortHash(from).toLowerCase()}`, "--wrap=none"],
}
return await this.siyuanRequest("/api/convert/pandoc", args)
}
Expand Down

0 comments on commit 38a2972

Please sign in to comment.