mirror of
https://github.com/gotson/komga.git
synced 2025-12-06 08:32:25 +01:00
docs(api): document remember-me parameter on Retrieve Current User API
This commit is contained in:
parent
291134811e
commit
cc78cd3133
1 changed files with 1 additions and 0 deletions
|
|
@ -64,6 +64,7 @@ class UserController(
|
||||||
@Operation(summary = "Retrieve current user", tags = [TagNames.CURRENT_USER])
|
@Operation(summary = "Retrieve current user", tags = [TagNames.CURRENT_USER])
|
||||||
fun getCurrentUser(
|
fun getCurrentUser(
|
||||||
@AuthenticationPrincipal principal: KomgaPrincipal,
|
@AuthenticationPrincipal principal: KomgaPrincipal,
|
||||||
|
@RequestParam(name = "remember-me", required = false) rememberMe: Boolean?,
|
||||||
): UserDto = principal.toDto()
|
): UserDto = principal.toDto()
|
||||||
|
|
||||||
@PatchMapping("me/password")
|
@PatchMapping("me/password")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue