import { getBorderById } from "../../../lib/borders"; export default function handler(req, res) { const id = req.query.id; getBorderById(id).then((result) => { return res.status(200).json(result); }); }