Merge branch 'dev' into feature/linking-accounts

This commit is contained in:
MTG2000
2022-08-17 09:52:41 +03:00
2 changed files with 2 additions and 1 deletions

View File

@@ -81,6 +81,7 @@ const loginHandler = async (req, res) => {
await prisma.userKey.create({
data: {
key,
name: "My original wallet key",
user_id: createdUser.id,
}
});

View File

@@ -69,7 +69,7 @@ model User {
model UserKey {
key String @id
name String @default("New Key Name")
name String @default("My new wallet key")
user User? @relation(fields: [user_id], references: [id])
user_id Int?