Skip to content

Commit

Permalink
remove authentication check on language search endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
pleary committed Jun 26, 2024
1 parent 810c13e commit 454e177
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/controllers/v1/computervision_controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -619,10 +619,6 @@ const ComputervisionController = class ComputervisionController {
}

static async languageSearch( req ) {
if ( !req.userSession || !req.userSession.isAdmin ) {
throw util.httpError( 401, "Unauthorized" );
}

if ( _.isEmpty( req.query.q ) ) {
throw util.httpError( 422, "Missing required parameter `q`" );
}
Expand Down

0 comments on commit 454e177

Please sign in to comment.