Skip to content

Commit

Permalink
remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
yans80 committed Aug 30, 2023
1 parent bdc0fdf commit dffc61b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ io.on('connection', (socket: Socket) => {

const findOrCreateDocument = async (id: string) => {
if(id == null) return
let unusedVar
const document = await DocumentSchema.findById(id)
if(document){
return document
Expand Down

0 comments on commit dffc61b

Please sign in to comment.