CosmicJay2k / grupp-a-java

0 stars 1 forks source link

PatchMapping to extend parking event is obsolete #37

Open FredricNordin opened 1 year ago

FredricNordin commented 1 year ago

In reference to PR #36 . I believe that the PatchMapping route to extend a parking event's endTime is obsolete. Remove that route? Then change the PutMapping route to stop an event to a PatchMapping instead.

OR The PatchMapping to extend a parking event's endTime might be useful for a 'parkeringsvakt' to see how long someone plans to be parked??

ElisyanBot commented 1 year ago

at the moment i agree, the patch mapping do not make any sense. if we in a later state can see a reason to have a more top layer access to the parking endtime for either a parking attendant or some sort fo admin we can allways add it later!