Skip to content

Commit

Permalink
api: nit return next
Browse files Browse the repository at this point in the history
  • Loading branch information
victorges committed Jan 18, 2023
1 parent eb9fe58 commit a2e374f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api/src/controllers/experiment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const experimentSubjectsOnly =
if (!isSubject) {
throw new ForbiddenError("user is not an experiment subject");
}
next();
return next();
};

for (const [experiment, api] of Object.entries(experimentApis)) {
Expand Down

0 comments on commit a2e374f

Please sign in to comment.