Skip to content

Commit

Permalink
Fixed demo file extension on remote upload (#266)
Browse files Browse the repository at this point in the history
  • Loading branch information
shobhit-pathak committed Dec 18, 2023
1 parent 2665f70 commit 9d919e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/v2/demoapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ router.post("/", async (req: Request, res: Response) => {
});
// Update map stats object to include the link to the demo.
updateStmt = {
demoFile: demoFilename.replace("dem", "zip")
demoFile: demoFilename.replace(".dem", ".zip")
};
updateStmt = await db.buildUpdateStatement(updateStmt);

Expand Down

0 comments on commit 9d919e4

Please sign in to comment.