Skip to content

Commit acf9c4c

Browse files
chore(api): remove useless char in api path
1 parent 4acb6e2 commit acf9c4c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/kotlin/infrastructure/api/routes/HealthProfessionalAPI.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ fun Route.healthProfessionalAPI(provider: Provider) {
6060
}
6161
}
6262

63-
post("/api/healthProfessionals/") {
63+
post("/api/healthProfessionals") {
6464
val healthProfessional = call.receive<HealthProfessionalData.HealthProfessional>()
6565
HealthProfessionalServices.CreateHealthProfessional(
6666
healthProfessional,

src/main/kotlin/infrastructure/api/routes/UserAPI.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ fun Route.userAPI(provider: Provider) {
5454
}
5555
}
5656

57-
post("/api/users/") {
57+
post("/api/users") {
5858
val user = call.receive<User>()
5959
UserServices.CreateUser(
6060
user,

0 commit comments

Comments
 (0)