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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user