- [API] Added getSchool, getSchools, and addSchools

This commit is contained in:
Alexis
2020-05-24 23:51:17 +02:00
parent df7ee9add4
commit af7e6ff701
6 changed files with 151 additions and 45 deletions

View File

@@ -4,9 +4,9 @@ const School = {
"properties": {
"name": { "type": "string" },
"description": { "type": "string" },
"meta_school": { "type": "number" },
"id_meta_school": { "type": "number" },
},
"required": ["name", "description"]
"required": ["name", "description", "id_meta_school"]
}
module.exports = School