diff options
| author | ivarlovlie <git@ivarlovlie.no> | 2022-12-22 14:44:26 +0100 |
|---|---|---|
| committer | ivarlovlie <git@ivarlovlie.no> | 2022-12-22 14:44:26 +0100 |
| commit | 58ef5833b3f77f321c587dd86448c888029016ce (patch) | |
| tree | fe5e6f47781573cc1fb5938f9b8cd8b51022946a /code/api/Endpoints/_Root/SessionEndpoint.cs | |
| parent | 82ade3c31fb17b662feec59e9e654ceb66edbb7a (diff) | |
| download | storage-58ef5833b3f77f321c587dd86448c888029016ce.tar.xz storage-58ef5833b3f77f321c587dd86448c888029016ce.zip | |
feat: Many things
- Working Login/Logout
- Groundwork for web components
- Loading web-components with version tag
- Load temporal-polyfill globally
Diffstat (limited to 'code/api/Endpoints/_Root/SessionEndpoint.cs')
| -rw-r--r-- | code/api/Endpoints/_Root/SessionEndpoint.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/code/api/Endpoints/_Root/SessionEndpoint.cs b/code/api/Endpoints/_Root/SessionEndpoint.cs index 8d6ca56..c596dce 100644 --- a/code/api/Endpoints/_Root/SessionEndpoint.cs +++ b/code/api/Endpoints/_Root/SessionEndpoint.cs @@ -1,9 +1,9 @@ namespace I2R.Storage.Api.Endpoints._Root; -public class SessionEndpoint : Base +public class SessionEndpoint : EndpointBase { [HttpGet("~/session")] public ActionResult<LoggedInUserModel.Public> Handle() { - return LoggedInUser.ForThePeople(HttpContext); + return LoggedInUserModel.ForThePeople(HttpContext); } }
\ No newline at end of file |
