8 lines
214 B
JavaScript
8 lines
214 B
JavaScript
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);
|
|
});
|
|
}
|