summary refs log tree commit diff
path: root/dist/models/User.js
diff options
context:
space:
mode:
Diffstat (limited to 'dist/models/User.js')
-rw-r--r--dist/models/User.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/dist/models/User.js b/dist/models/User.js
index 4fa2bc63..e40df925 100644
--- a/dist/models/User.js
+++ b/dist/models/User.js
@@ -23,14 +23,14 @@ exports.UserSchema = new mongoose_1.Schema({
     system: Boolean,
     nsfw_allowed: Boolean,
     mfa_enabled: Boolean,
-    created_at: Number,
+    created_at: Date,
     verified: Boolean,
     email: String,
     flags: mongoose_1.Types.Long,
     public_flags: mongoose_1.Types.Long,
     hash: String,
     guilds: [mongoose_1.Types.Long],
-    valid_tokens_since: Number,
+    valid_tokens_since: Date,
     user_settings: {
         afk_timeout: Number,
         allow_accessibility_detection: Boolean,