Add VehicleBookingsCreateDiag - second route to create a diag in reservation
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 1m40s
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 1m40s
This commit is contained in:
2
main.go
2
main.go
@@ -196,6 +196,8 @@ func main() {
|
||||
////////////////////////////////////////////////////////////////
|
||||
//////////////////Diag in bookings////////////////////////
|
||||
application.HandleFunc("/vehicles-management/bookings/{bookingid}/create-diag", applicationHandler.BookingsCreateDiag)
|
||||
application.HandleFunc("/vehicles/bookings/{vehicleid}/diags", applicationHandler.DiagsHome)
|
||||
application.HandleFunc("/vehicles/bookings/{bookingid}/create-diag", applicationHandler.VehicleBookingsCreateDiag)
|
||||
//////////////////Diags////////////////////////
|
||||
application.HandleFunc("/diags/", applicationHandler.DiagsHome)
|
||||
application.HandleFunc("/diags/{diagid}", applicationHandler.DiagsDisplayDiag)
|
||||
|
||||
Reference in New Issue
Block a user