mirror of
https://github.com/zoriya/Kyoo.git
synced 2026-05-30 10:55:16 -04:00
Using a specific namespace for the abstraction
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using Kyoo.Models;
|
||||
using Kyoo.Abstractions.Models;
|
||||
|
||||
namespace Kyoo.Authentication.Models.DTO
|
||||
{
|
||||
@@ -34,7 +34,7 @@ namespace Kyoo.Authentication.Models.DTO
|
||||
/// <returns></returns>
|
||||
public User ToUser()
|
||||
{
|
||||
return new()
|
||||
return new User
|
||||
{
|
||||
Slug = Utility.ToSlug(Username),
|
||||
Username = Username,
|
||||
|
||||
Reference in New Issue
Block a user