fixing fixing bug changing the query data
This commit is contained in:
@@ -208,7 +208,7 @@ async function getUserLines(req: Request, res: Response) {
|
||||
|
||||
const resObj = new GetUserLinesResponse(masterLines);
|
||||
|
||||
res.json(new NirvanaResponse(resObj));
|
||||
res.json(new NirvanaResponse<GetUserLinesResponse>(resObj));
|
||||
} catch (error) {
|
||||
res.status(500).json(error);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user