mirror of
https://github.com/bitwarden/server
synced 2026-01-09 03:53:42 +00:00
SDK integration in db seeder
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using Bit.Core.Enums;
|
||||
using Bit.Infrastructure.EntityFramework.Models;
|
||||
using Bit.RustSDK;
|
||||
|
||||
namespace Bit.Seeder.Factories;
|
||||
|
||||
@@ -7,6 +8,7 @@ public class UserSeeder
|
||||
{
|
||||
public static User CreateUser(string email)
|
||||
{
|
||||
Console.WriteLine(NativeMethods.my_add(2, 3));
|
||||
return new User
|
||||
{
|
||||
Id = Guid.NewGuid(),
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
<ProjectReference Include="..\..\src\Core\Core.csproj" />
|
||||
<ProjectReference Include="..\..\src\Infrastructure.EntityFramework\Infrastructure.EntityFramework.csproj" />
|
||||
<ProjectReference Include="..\..\src\SharedWeb\SharedWeb.csproj" />
|
||||
<ProjectReference Include="..\RustSdk\RustSdk.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
Reference in New Issue
Block a user