Skip to content

Commit

Permalink
fix: removed unused code (usebruno#2729)
Browse files Browse the repository at this point in the history
  • Loading branch information
lohxt1 authored and jwetzell committed Aug 2, 2024
1 parent f28f42b commit 64edddc
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,7 @@ export const sendCollectionOauth2Request = (collectionUid, itemUid) => (dispatch

const environment = findEnvironmentInCollection(collectionCopy, collection.activeEnvironmentUid);

const externalSecrets = getExternalCollectionSecretsForActiveEnvironment({ collection });
const secretVariables = getFormattedCollectionSecretVariables({ externalSecrets });

_sendCollectionOauth2Request(collection, environment, collectionCopy.runtimeVariables, itemUid, secretVariables)
_sendCollectionOauth2Request(collection, environment, collectionCopy.runtimeVariables)
.then((response) => {
if (response?.data?.error) {
toast.error(response?.data?.error);
Expand Down

0 comments on commit 64edddc

Please sign in to comment.