Zwischenpush

This commit is contained in:
AlexE030 committed 2023-06-16 12:13:20 +02:00
1 parent c9f3efd7f9
commit 05a6a3ee23
6 files changed
+16 -18

No files matched your search

@@ -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);
}