Changed Error Code to 22400 (was 22403) in case of doctor creating an account with another role than patient
Merged 22400 Changes and accountsDelete Change from create.sql in Workbench Model
Changed DELETE Accounts Behavior from Disable to Delete
Added more Tests to Accounts and changed structure of the directory
Seperate Error Handler...from now on to catch Errors call next(err) and handlde it in utils. Fixes #16. Fixes #3 since it returns an error if a not-null field is left out. Problem of #3 was missing enabled field in message.
Added Tests to patients and accounts
Updated accountsDelete. It now drops the user after deleting. Closes #11 since remaining parts of #11 are now in #21.
Admin didnt have the permission to delete patients data, but according to swagger doc he should.
Started work on Access Control Middleware -> #21
Created CAT Tests
Bugfix...Single Exam hadnt the right format (was array: should be object)
Changes on Error Handler
Small Improvements on Error Handler
Completed Access Control Middleware. Closes #22.
Bugfix. GETting s single instance of daily report or death didnt had the correct format
Some Errors werent passed to the new ErrorHandler...fixed.
Adepted Access Control Middleware to non-integer IDs
Fixed Error in logging of ErrorHandler
Added REST Functions to register/deregister Device for Push Notifications. Closes #17
Bugfix...Swagger displays POST /notifications now as POST. (Was GET)