fix: handling for 204 return status. Since text_labels API responds with no data

This commit is contained in:
James Melvin
2023-01-08 10:26:32 +05:30
parent c129ca9862
commit 3d469baaf5
+1 -1
View File
@@ -36,7 +36,7 @@ const handler = async (req, res) => {
}),
});
res.status(interactionRes.status).json(interactionRes.json());
res.status(interactionRes.status).end();
};
export default handler;