1
0
mirror of https://github.com/matt-fidd/stratos.git synced 2026-01-01 17:59:25 +00:00

Reorder User constructor params

This commit is contained in:
2022-04-07 13:38:41 +00:00
parent 95b1636288
commit ad1a50d4f2
9 changed files with 16 additions and 17 deletions

View File

@@ -24,11 +24,11 @@ class User {
#password;
type = null;
type;
_conn;
constructor(conn, type, userId) {
constructor(conn, userId, type = null) {
type = type ?? false;
this._conn = conn;