remove hyphens from UIDs

pull/3424/head
Richard Harris 5 years ago
parent a53849d54f
commit b4509c755f

@ -13,6 +13,10 @@ export async function get(req, res) {
offset $2
`, [req.user.id, offset]);
rows.forEach(row => {
row.uid = row.uid.replace(/-/g, '');
});
send(res, 200, rows);
} else {
send(res, 401);

Loading…
Cancel
Save