blob: adf1cbafe1aa7c7db06d764e23735c2c63c199bb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
namespace IOL.BookmarkThing.Server.Api.Internal.Account;
public class GetProfileDataRoute : RouteBaseInternalSync.WithoutRequest.WithActionResult<LoggedInInternalUser>
{
[ApiVersionNeutral]
[ApiExplorerSettings(IgnoreApi = true)]
[HttpGet("~/v{version:apiVersion}/account/profile-data")]
public override ActionResult<LoggedInInternalUser> Handle() {
return Ok(LoggedInUser);
}
}
|