Skip to content

Commit 94438b6

Browse files
authored
fix Buffer and Uint8Array (#559)
# PRの概要 ## 具体的な変更内容 ## 影響範囲 ## 動作要件 ## 補足 ## レビューリクエストを出す前にチェック! - [ ] 改めてセルフレビューしたか - [ ] 手動での動作検証を行ったか - [ ] server の機能追加ならば、テストを書いたか - 理由: 書いた | server の機能追加ではない - [ ] 間違った使い方が存在するならば、それのドキュメントをコメントで書いたか - 理由: 書いた | 間違った使い方は存在しない - [ ] わかりやすいPRになっているか <!-- レビューリクエスト後は、Slackでもメンションしてお願いすることを推奨します。 -->
1 parent f7c089a commit 94438b6

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)