Update homework endpoint
This commit is contained in:
parent
7ba6a02ea2
commit
21e1676455
1 changed files with 2 additions and 2 deletions
|
@ -46,7 +46,7 @@ router.get("/", (req, res) => {
|
||||||
"/UczenDziennik.mvc/Get",
|
"/UczenDziennik.mvc/Get",
|
||||||
"/Usprawiedliwienia.mvc/Post",
|
"/Usprawiedliwienia.mvc/Post",
|
||||||
"/UwagiIOsiagniecia.mvc/Get",
|
"/UwagiIOsiagniecia.mvc/Get",
|
||||||
"/ZadaniaDomowe.mvc/Get",
|
"/Homework.mvc/Get",
|
||||||
"/ZarejestrowaneUrzadzenia.mvc/Get",
|
"/ZarejestrowaneUrzadzenia.mvc/Get",
|
||||||
"/ZarejestrowaneUrzadzenia.mvc/Delete",
|
"/ZarejestrowaneUrzadzenia.mvc/Delete",
|
||||||
"/ZgloszoneNieobecnosci.mvc/Get",
|
"/ZgloszoneNieobecnosci.mvc/Get",
|
||||||
|
@ -794,7 +794,7 @@ router.all("/UwagiIOsiagniecia.mvc/Get", (req, res) => {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
router.all("/ZadaniaDomowe.mvc/Get", (req, res) => {
|
router.all("/Homework.mvc/Get", (req, res) => {
|
||||||
const subjects = require("../../data/api/dictionaries/Przedmioty");
|
const subjects = require("../../data/api/dictionaries/Przedmioty");
|
||||||
const teachers = require("../../data/api/dictionaries/Nauczyciele");
|
const teachers = require("../../data/api/dictionaries/Nauczyciele");
|
||||||
const homework = require("../../data/api/student/ZadaniaDomowe");
|
const homework = require("../../data/api/student/ZadaniaDomowe");
|
||||||
|
|
Loading…
Reference in a new issue