From 0e13cfaf489b6a52177dd4845f2f870d1ad3e296 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Sat, 26 Oct 2019 00:02:09 -0400 Subject: [PATCH] change 'account' field in Account model to 'username' --- src/models/Account.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/models/Account.ts b/src/models/Account.ts index a71b87c..db26a2c 100644 --- a/src/models/Account.ts +++ b/src/models/Account.ts @@ -1,7 +1,7 @@ import { Document, Schema, model } from 'mongoose'; export interface AccountInterface extends Document { - account: string, + username: string, userID: string, emailAddress: string, createdBy: string, @@ -18,7 +18,7 @@ export interface AccountInterface extends Document { } const Account: Schema = new Schema({ - account: String, + username: String, userID: String, emailAddress: String, createdBy: String,