Skip to content

Commit 69c65dc

Browse files
committed
fix JavaScript
1 parent f7c089a commit 69c65dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/router/picture.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ router.get("/:guid", async (req, res) => {
1717
const result = await storage.get(guid);
1818
switch (result.ok) {
1919
case true:
20-
return res.send(result.value);
20+
return res.send(new Buffer(result.value));
2121
case false:
2222
return res.status(404).send();
2323
}

0 commit comments

Comments
 (0)