Skip to content

Commit 4f88179

Browse files
fix: Remove orphaned _credential initializer from PollingDataSource constructor
The _credential field was removed but the constructor initializer list still referenced it, causing a compilation error. Co-Authored-By: [email protected] <[email protected]>
1 parent 5550fb2 commit 4f88179

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/common_client/lib/src/data_sources/polling_data_source.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ final class PollingDataSource implements DataSource {
6868
_defaultClientFactory})
6969
: _endpoints = endpoints,
7070
_logger = logger.subLogger('PollingDataSource'),
71-
_dataSourceConfig = dataSourceConfig,
72-
_credential = credential {
71+
_dataSourceConfig = dataSourceConfig {
7372
_pollingInterval = testingInterval ?? dataSourceConfig.pollingInterval;
7473

7574
if (_dataSourceConfig.useReport) {

0 commit comments

Comments
 (0)