We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b92a688 commit 635c11cCopy full SHA for 635c11c
pages/api/input.tsx
@@ -2,7 +2,7 @@ import { NextApiRequest, NextApiResponse } from "next"
2
import { InputResponseModel } from "../../model"
3
4
export default (req: NextApiRequest, res: NextApiResponse) => {
5
- const inputValue = req.query["value"][0]
+ const inputValue = String(req.query["value"])
6
const responseBody: InputResponseModel = {
7
input: inputValue,
8
timestamp: getCurrentTimestamp(),
0 commit comments