Zwischenpush

This commit is contained in:
AlexE030
2023-06-16 12:13:20 +02:00
parent c9f3efd7f9
commit 05a6a3ee23
6 changed files with 16 additions and 18 deletions
@@ -360,7 +360,7 @@ public class DataBaseHandler {
st.executeUpdate("update modules set activated=" + m.getActivated() + ", semesterid=" + m.getsemesterid() + ", name='" + m.getName() + "' where id=" + m.getid());
return null;
return getModule(m.getid());
} catch (SQLException ex) {
ex.printStackTrace();
return null;
@@ -143,7 +143,6 @@ public class ModuleController
{
return new ResponseEntity<>(m, HttpStatus.OK);
}
return new ResponseEntity<>(HttpStatus.NOT_FOUND);
}