Skip to content

Commit

Permalink
remove console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
Janson Bunce committed Sep 18, 2024
1 parent a6aba3a commit e4d347f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/api/domains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ class DomainSearch {
*/
export const list = wrapHandler(async (event) => {
if (!isGlobalViewAdmin(event) && getOrgMemberships(event).length === 0) {
console.log('returning no results');
return {
statusCode: 200,
body: JSON.stringify({
Expand All @@ -179,7 +180,6 @@ export const list = wrapHandler(async (event) => {
};
}
await connectToDatabase();
console.log('backend', event.body);
const search = await validateBody(DomainSearch, event.body);
const [result, count] = await search.getResults(event);

Expand Down

0 comments on commit e4d347f

Please sign in to comment.