Skip to content
Snippets Groups Projects
Verified Commit 0e3ec61a authored by Jan-Niclas Strüwer's avatar Jan-Niclas Strüwer
Browse files

updated Api path for validateUser

parent c0e051ec
No related branches found
No related tags found
No related merge requests found
Pipeline #27171 passed
......@@ -19,5 +19,5 @@ object ApiPaths {
const val REPOSITORY_ID = "$REPOSITORY/{id}"
const val REPOSITORY_TOOL_RUN = "$REPOSITORY/{id}/toolrun"
const val REPOSITORY_UPDATE_CONSENT = "$REPOSITORY/consent"
const val REPOSITORY_VALIDATE_USER = "$REPOSITORY/validateUser"
const val REPOSITORY_VALIDATE_USER = "$REPOSITORY/{id}/validateUser"
}
......@@ -137,7 +137,7 @@ class RepositoryController(
}
@PostMapping(ApiPaths.REPOSITORY_VALIDATE_USER)
suspend fun validateUserLogin(@RequestBody validateDto: ValidateUserDto) {
suspend fun validateUserLogin(@PathVariable id: Long, @RequestBody validateDto: ValidateUserDto) {
repositoryService.validateUser(validateDto)
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment

Consent

On this website, we use the web analytics service Matomo to analyze and review the use of our website. Through the collected statistics, we can improve our offerings and make them more appealing for you. Here, you can decide whether to allow us to process your data and set corresponding cookies for these purposes, in addition to technically necessary cookies. Further information on data protection—especially regarding "cookies" and "Matomo"—can be found in our privacy policy. You can withdraw your consent at any time.