summary refs log tree commit diff
path: root/util/src/entities/AuditLog.ts
diff options
context:
space:
mode:
authorSamuel <34555296+Flam3rboy@users.noreply.github.com>2021-10-15 00:47:19 +0200
committerGitHub <noreply@github.com>2021-10-15 00:47:19 +0200
commit330e9081a73211524d47f9398879bedb67ad7275 (patch)
treed1c1e122507a2c37914931df75c77f9c2614b9de /util/src/entities/AuditLog.ts
parentMerge pull request #438 from Mr2u/dev (diff)
parent:art: exclude healthz/readyz from auth (diff)
downloadserver-330e9081a73211524d47f9398879bedb67ad7275.tar.xz
Merge pull request #454 from hbjydev/status-probes
[API] Status Probes
Diffstat (limited to 'util/src/entities/AuditLog.ts')
-rw-r--r--util/src/entities/AuditLog.ts5
1 files changed, 1 insertions, 4 deletions
diff --git a/util/src/entities/AuditLog.ts b/util/src/entities/AuditLog.ts
index ae9feb76..4b81ed6a 100644
--- a/util/src/entities/AuditLog.ts
+++ b/util/src/entities/AuditLog.ts
@@ -55,10 +55,7 @@ export class AuditLog extends BaseClass {
 	@ManyToOne(() => User, (user: User) => user.id)
 	user: User;
 
-	@Column({
-		type: "simple-enum",
-		enum: AuditLogEvents,
-	})
+	@Column({ type: "int" })
 	action_type: AuditLogEvents;
 
 	@Column({ type: "simple-json", nullable: true })