mirror of https://github.com/hykilpikonna/AquaDX
[-] Remove path concat
parent
38367279ff
commit
1169ac44b4
|
@ -160,10 +160,7 @@ class UserRegistrar(
|
||||||
|
|
||||||
@API("/me")
|
@API("/me")
|
||||||
@Doc("Get the information of the current logged-in user.", "User information")
|
@Doc("Get the information of the current logged-in user.", "User information")
|
||||||
suspend fun getUser(@RP token: Str) = jwt.auth(token).apply {
|
suspend fun getUser(@RP token: Str) = jwt.auth(token)
|
||||||
if (!profilePicture.isNullOrBlank())
|
|
||||||
profilePicture = (portraitPath / profilePicture!!).toString()
|
|
||||||
}
|
|
||||||
|
|
||||||
@API("/setting")
|
@API("/setting")
|
||||||
@Doc("Validate and set a user setting field.", "Success message")
|
@Doc("Validate and set a user setting field.", "Success message")
|
||||||
|
|
Loading…
Reference in New Issue