Skip to content

Commit

Permalink
Remove optional indicator from exceptions service usage
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-tavares committed Aug 31, 2020
1 parent 13c072e commit 34b3da6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const getTrustedAppsListRouteHandler = (

try {
// Ensure list is created if it does not exist
await exceptionsListService?.createTrustedAppsList();
await exceptionsListService.createTrustedAppsList();
const results = await exceptionsListService.findExceptionListItem({
listId: ENDPOINT_TRUSTED_APPS_LIST_ID,
page,
Expand Down Expand Up @@ -60,7 +60,7 @@ export const getTrustedAppsCreateRouteHandler = (

try {
// Ensure list is created if it does not exist
await exceptionsListService?.createTrustedAppsList();
await exceptionsListService.createTrustedAppsList();

const createdTrustedAppExceptionItem = await exceptionsListService.createExceptionListItem(
newTrustedAppItemToExceptionItem(newTrustedApp)
Expand Down

0 comments on commit 34b3da6

Please sign in to comment.