fix: type error in rest proxy

This commit is contained in:
Skillz4Killz
2022-08-26 02:02:39 +00:00
committed by GitHub
parent 8e95685425
commit 9183ade29d
3 changed files with 10 additions and 10 deletions
+7 -7
View File
@@ -10,7 +10,7 @@
"dependencies": {
"@influxdata/influxdb-client": "^1.29.0",
"@prisma/client": "^3.12.0",
"discordeno": "^13.0.0-rc46",
"discordeno": "^13.0.0-rc48",
"express": "^4.18.1",
"prisma": "^3.12.0",
"tslib": "^2.3.1"
@@ -371,9 +371,9 @@
}
},
"node_modules/discordeno": {
"version": "13.0.0-rc46",
"resolved": "https://registry.npmjs.org/discordeno/-/discordeno-13.0.0-rc46.tgz",
"integrity": "sha512-fXWg4Kt9nU33vF8YWmdaTs/Rouzs6sdNgnOEBOc85aBj735m/lbRNgOYE9Jgzl31hERz+7IyTVvA3Xd3c4fNhw==",
"version": "13.0.0-rc48",
"resolved": "https://registry.npmjs.org/discordeno/-/discordeno-13.0.0-rc48.tgz",
"integrity": "sha512-yjct+iiFsvz16jCncw59TresbuVYuY4yRxJoo39gAU+NWAJCypgeITnL9lgWOzK18Ib0lqss9rfslfvtxfqCAw==",
"dependencies": {
"@deno/shim-deno": "~0.3.0",
"@deno/shim-timers": "~0.1.0",
@@ -1486,9 +1486,9 @@
"integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg=="
},
"discordeno": {
"version": "13.0.0-rc46",
"resolved": "https://registry.npmjs.org/discordeno/-/discordeno-13.0.0-rc46.tgz",
"integrity": "sha512-fXWg4Kt9nU33vF8YWmdaTs/Rouzs6sdNgnOEBOc85aBj735m/lbRNgOYE9Jgzl31hERz+7IyTVvA3Xd3c4fNhw==",
"version": "13.0.0-rc48",
"resolved": "https://registry.npmjs.org/discordeno/-/discordeno-13.0.0-rc48.tgz",
"integrity": "sha512-yjct+iiFsvz16jCncw59TresbuVYuY4yRxJoo39gAU+NWAJCypgeITnL9lgWOzK18Ib0lqss9rfslfvtxfqCAw==",
"requires": {
"@deno/shim-deno": "~0.3.0",
"@deno/shim-timers": "~0.1.0",
+1 -1
View File
@@ -11,7 +11,7 @@
"dependencies": {
"@influxdata/influxdb-client": "^1.29.0",
"@prisma/client": "^3.12.0",
"discordeno": "^13.0.0-rc46",
"discordeno": "^13.0.0-rc48",
"express": "^4.18.1",
"prisma": "^3.12.0",
"tslib": "^2.3.1"
+2 -2
View File
@@ -23,7 +23,7 @@ if (INFLUX_TOKEN) {
.stringField("type", "REQUEST_FETCHING")
.tag("method", options.method)
.tag("url", options.url)
.tag("bucket", options.bucketId),
.tag("bucket", options.bucketId ?? "NA"),
);
};
@@ -36,7 +36,7 @@ if (INFLUX_TOKEN) {
.stringField("type", "REQUEST_FETCHED")
.tag("method", options.method)
.tag("url", options.url)
.tag("bucket", options.bucketId)
.tag("bucket", options.bucketId ?? "NA")
.intField("status", response.status)
.tag("statusText", response.statusText),
);