summary refs log tree commit diff
path: root/src/util/MongoBigInt.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-04-14 15:01:27 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-04-14 15:01:27 +0200
commit9c62b43664f9808497cdaf5142ef071c4e01275d (patch)
treea2a8b0b0b72d2182229e332b158fd9310a1cb809 /src/util/MongoBigInt.ts
parent:zap: export regex (diff)
parent:bug: fix Activity model (diff)
downloadserver-9c62b43664f9808497cdaf5142ef071c4e01275d.tar.xz
Merge branch 'main' of https://github.com/discord-open-source/discord-server-util into main
Diffstat (limited to 'src/util/MongoBigInt.ts')
-rw-r--r--src/util/MongoBigInt.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/MongoBigInt.ts b/src/util/MongoBigInt.ts

index c4e5f623..fc451925 100644 --- a/src/util/MongoBigInt.ts +++ b/src/util/MongoBigInt.ts
@@ -44,7 +44,7 @@ class LongSchema extends mongoose.SchemaType { if (val instanceof Number || "number" == typeof val) return BigInt(val); if (!Array.isArray(val) && val.toString) return BigInt(val.toString()); - // @ts-ignore + //@ts-ignore throw new SchemaType.CastError("Long", val); }