enhancement: 4423 switch sending back data from server to res.json() instead of res.send()

changeset
This commit is contained in:
NHI TRAN
2021-02-19 14:05:27 -05:00
parent ca559171bf
commit f43192207a
14 changed files with 57 additions and 39 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ export const makeRouter = (
}));
}),
);
res.send({ consumerId, offsets: groupWithTopicOffsets.flat() });
res.json({ consumerId, offsets: groupWithTopicOffsets.flat() });
});
return router;