Add response content of Statystyki/GetOcenyRoczne

This commit is contained in:
Mikołaj Pich 2019-09-17 19:54:25 +02:00
parent 7de0d48c9f
commit a74ba337d0
No known key found for this signature in database
GPG key ID: F62B26E36D4C4BAA
2 changed files with 27 additions and 1 deletions

View file

@ -0,0 +1,26 @@
{
"data": [
{
"Subject": "Edukacja dla bezpieczeństwa",
"Value1": 78.19,
"Value2": 80.00,
"Label1": "78,19",
"Label2": "80,00"
},
{
"Subject": "Biologia",
"Value1": 50.00,
"Value2": 50.00,
"Label1": "50,00",
"Label2": "50,00"
},
{
"Subject": "Język angielski",
"Value1": 69.96,
"Value2": 85.00,
"Label1": "69,96",
"Label2": "85,00"
}
],
"success": true
}

View file

@ -717,7 +717,7 @@ router.all("/Statystyki.mvc/GetOcenyRoczne", (req, res) => {
router.all("/Statystyki.mvc/GetPunkty", (req, res) => { router.all("/Statystyki.mvc/GetPunkty", (req, res) => {
res.json({ res.json({
"data": {}, "data": require("../../data/opiekun/oceny-statystyki-punkty"),
"success": true "success": true
}); });
}); });