mirror of
https://github.com/usebruno/bruno.git
synced 2025-02-16 09:50:17 +01:00
fix: removed unused code (#2729)
This commit is contained in:
parent
98c53cf443
commit
37bec70fe6
@ -192,10 +192,7 @@ export const sendCollectionOauth2Request = (collectionUid, itemUid) => (dispatch
|
|||||||
|
|
||||||
const environment = findEnvironmentInCollection(collectionCopy, collection.activeEnvironmentUid);
|
const environment = findEnvironmentInCollection(collectionCopy, collection.activeEnvironmentUid);
|
||||||
|
|
||||||
const externalSecrets = getExternalCollectionSecretsForActiveEnvironment({ collection });
|
_sendCollectionOauth2Request(collection, environment, collectionCopy.runtimeVariables)
|
||||||
const secretVariables = getFormattedCollectionSecretVariables({ externalSecrets });
|
|
||||||
|
|
||||||
_sendCollectionOauth2Request(collection, environment, collectionCopy.runtimeVariables, itemUid, secretVariables)
|
|
||||||
.then((response) => {
|
.then((response) => {
|
||||||
if (response?.data?.error) {
|
if (response?.data?.error) {
|
||||||
toast.error(response?.data?.error);
|
toast.error(response?.data?.error);
|
||||||
|
Loading…
Reference in New Issue
Block a user