mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-07-04 17:20:19 +08:00
fix: handling for 204 return status. Since text_labels API responds with no data
This commit is contained in:
@@ -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