summary refs log tree commit diff
path: root/util/src/tes.ts
diff options
context:
space:
mode:
Diffstat (limited to 'util/src/tes.ts')
-rw-r--r--util/src/tes.ts12
1 files changed, 8 insertions, 4 deletions
diff --git a/util/src/tes.ts b/util/src/tes.ts
index b469f1d8..e326dee1 100644
--- a/util/src/tes.ts
+++ b/util/src/tes.ts
@@ -5,10 +5,14 @@ import { initDatabase } from "./util";
 
 initDatabase().then(async (x) => {
 	try {
-		const user = await new User(
-			{ guilds: [], discriminator: "1", username: "test", flags: "0", public_flags: "0" },
-			{ id: "0" }
-		).save();
+		const user = await new User({
+			guilds: [],
+			discriminator: "1",
+			username: "test",
+			flags: "0",
+			public_flags: "0",
+			id: "0",
+		}).save();
 
 		user.relationships = [new Relationship({ type: RelationshipType.friends })];