Server post model, server creation form
This commit is contained in:
@@ -4,11 +4,12 @@
|
||||
@inject IHttpContextAccessor _httpContextAccessor
|
||||
@attribute [Authorize]
|
||||
|
||||
<ServerCreationForm/>
|
||||
|
||||
@code {
|
||||
protected async override Task OnInitializedAsync()
|
||||
{
|
||||
string token = await _httpContextAccessor.HttpContext.GetTokenAsync("access_token");
|
||||
var t = 2;
|
||||
base.OnInitializedAsync();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user