Fix import bug temporarily
All checks were successful
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing

This commit is contained in:
Fabian Stamm 2023-04-13 01:49:30 +02:00
parent 428f6c6c22
commit 3aea125ecb
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "rss-telegram-bot", "name": "rss-telegram-bot",
"version": "1.0.6", "version": "1.0.7",
"main": "lib/index.js", "main": "lib/index.js",
"author": "Fabian Stamm <dev@fabianstamm.de>", "author": "Fabian Stamm <dev@fabianstamm.de>",
"license": "MIT", "license": "MIT",

View File

@ -2,7 +2,7 @@
// require('ssl-root-cas').inject(); // require('ssl-root-cas').inject();
process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0"; process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
import Logging from "@hibas123/nodelogging"; import * as _Logging from "@hibas123/nodelogging";
import { createHash } from "crypto"; import { createHash } from "crypto";
import * as dotenv from "dotenv"; import * as dotenv from "dotenv";
import { decode } from "html-entities"; import { decode } from "html-entities";
@ -14,6 +14,7 @@ import { message } from "telegraf/filters";
import * as fs from "fs"; import * as fs from "fs";
import lodash from 'lodash' import lodash from 'lodash'
const Logging = (_Logging.default as any).default as typeof _Logging.default;
Promise.resolve().then(async () => { Promise.resolve().then(async () => {
const { Low, LowSync } = await import("lowdb"); const { Low, LowSync } = await import("lowdb");