Skip to content

Commit

Permalink
Remove redundant check
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris committed Jan 14, 2023
1 parent 0e50140 commit 69ac2b8
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/controllers/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,6 @@ class UserController {
});
}

if (!did || !contextName) {
return res.status(401).send({
status: "fail",
message: "Permission denied"
});
}

const databaseHash = Utils.generateDatabaseName(did, contextName, databaseName)

let success;
Expand Down

0 comments on commit 69ac2b8

Please sign in to comment.