Skip to content

Commit

Permalink
fix minor errors
Browse files Browse the repository at this point in the history
  • Loading branch information
wayneleon1 committed May 7, 2024
1 parent a9b35c0 commit e5e6413
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/database/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ export class DbConnection {
};
}



const dbConnection = DbConnection.connection;

export default dbConnection;
2 changes: 1 addition & 1 deletion src/database/models/userModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export class UserModel {
@Column({ nullable: true })
password: string;

@Column({ default: null })
@Column({ nullable: true })
googleId: string;

@Column({ default: null })
Expand Down

0 comments on commit e5e6413

Please sign in to comment.