refactoring the Register

This commit is contained in:
Paul Schneider 2026-02-22 23:39:56 +00:00
commit f1dd648970
43 changed files with 4610 additions and 86 deletions

View file

@ -4,9 +4,10 @@
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<UserSecretsId>1c73094f-959f-4211-b1a1-6a69b236c283</UserSecretsId>
<RootNamespace>Yavsc.Api</RootNamespace>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" />
<ProjectReference Include="../Server/Server.csproj" />
</ItemGroup>
</Project>
</Project>

View file

@ -65,7 +65,7 @@ namespace Yavsc.Controllers
string uid = User.GetUserId();
Comment c = new Comment{
ReceiverId = post.ReceiverId,
Content = post.Content,
Article = post.Article,
ParentId = post.ParentId,
AuthorId = uid,
UserModified = uid