Skip to content

Commit

Permalink
fix: nanoid import
Browse files Browse the repository at this point in the history
  • Loading branch information
bangbang93 committed Nov 11, 2022
1 parent 1922744 commit 9b7f915
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 5 deletions.
23 changes: 19 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"typescript": "^4.8.4"
},
"dependencies": {
"@types/nanoid": "^2.1.0",
"body-parser": "^1.20.1",
"express": "^4.18.2",
"knex": "^2.3.0",
Expand Down
2 changes: 1 addition & 1 deletion server/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import bodyParser from 'body-parser'
import express, {NextFunction, Request, Response} from 'express'
import {nanoid} from 'nanoid'
import nanoid from 'nanoid'
import Knex from 'knex'
import { join } from 'path'

Expand Down

0 comments on commit 9b7f915

Please sign in to comment.