use lodash instead of standalone lodash.debounce package

This commit is contained in:
Hongbo Wu
2023-07-26 13:41:51 +08:00
parent a94b5814ea
commit f0e62b1d2a
2 changed files with 2 additions and 2 deletions

View File

@ -73,6 +73,7 @@
"knex": "2.4.2",
"knex-stringcase": "^1.4.2",
"linkedom": "^0.14.9",
"lodash": "^4.17.21",
"luxon": "^3.2.1",
"microsoft-cognitiveservices-speech-sdk": "^1.22.0",
"nanoid": "^3.1.25",
@ -117,7 +118,6 @@
"@types/highlightjs": "^9.12.2",
"@types/intercom-client": "^2.11.8",
"@types/jsonwebtoken": "^8.5.0",
"@types/lodash.debounce": "^4.0.6",
"@types/luxon": "^1.25.0",
"@types/mocha": "^8.2.2",
"@types/nanoid": "^3.0.0",

View File

@ -1,7 +1,7 @@
import cors from 'cors'
import express from 'express'
import * as jwt from 'jsonwebtoken'
import debounce from 'lodash.debounce'
import { debounce } from 'lodash'
import { env } from '../env'
import { Claims } from '../resolvers/types'
import { getDeviceTokensByUserId } from '../services/user_device_tokens'