mirror of
https://github.com/foss42/apidash.git
synced 2025-12-03 03:17:00 +08:00
chore: remove logging in EditAuthType
This commit is contained in:
@@ -430,6 +430,7 @@ class CollectionStateNotifier
|
||||
: (state?[id]?.copyWith(httpResponseModel: null))?.toJson(),
|
||||
);
|
||||
}
|
||||
|
||||
await hiveHandler.removeUnused();
|
||||
ref.read(saveDataStateProvider.notifier).state = false;
|
||||
ref.read(hasUnsavedChangesProvider.notifier).state = false;
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
import 'dart:developer';
|
||||
|
||||
import 'package:apidash/screens/common_widgets/auth/api_key_auth_fields.dart';
|
||||
import 'package:apidash/screens/common_widgets/auth/basic_auth_fields.dart';
|
||||
import 'package:apidash/screens/common_widgets/auth/bearer_auth_fields.dart';
|
||||
@@ -26,11 +24,9 @@ class EditAuthType extends ConsumerWidget {
|
||||
final APIAuthType currentAuthType;
|
||||
|
||||
if (authModel != null) {
|
||||
log("Got Auth Model");
|
||||
currentAuthData = authModel;
|
||||
currentAuthType = authModel!.type;
|
||||
} else {
|
||||
log("Using Provider");
|
||||
final selectedRequest = ref.read(selectedRequestModelProvider);
|
||||
if (selectedRequest == null) {
|
||||
return const SizedBox.shrink();
|
||||
|
||||
Reference in New Issue
Block a user