mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-10-03 12:00:14 +08:00
fix: handling for 204 return status. Since text_labels API responds with no data
This commit is contained in:
1 parent
c129ca9862
commit
3d469baaf5
1 file changed
+1
-1
@@ -36,7 +36,7 @@ const handler = async (req, res) => {
|
||||
|
||||
}),
|
||||
});
|
||||
res.status(interactionRes.status).json(interactionRes.json());
|
||||
res.status(interactionRes.status).end();
|
||||
};
|
||||
|
||||
export default handler;
|
||||
Reference in new issue
Block a user