Skip to content

Commit

Permalink
Expose institution in Flutter SDK (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-quiltt authored Mar 8, 2024
1 parent 3b3fdae commit 77ec20d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/configuration.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ class QuilttConnectorConfiguration {
String connectorId;
String oauthRedirectUrl;
String? connectionId;
String? institution;

QuilttConnectorConfiguration({
required this.connectorId,
required this.oauthRedirectUrl,
this.connectionId,
this.institution,
});
}
1 change: 1 addition & 0 deletions lib/quiltt_connector.dart
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ class _WebViewPage {
token: '$token',
connectorId: '${config.connectorId}',
connectionId: '$connectionId',
institution: '${config.institution}',
};
const compactedOptions = Object.keys(options).reduce((acc, key) => {
if (options[key] !== 'null') {
Expand Down

0 comments on commit 77ec20d

Please sign in to comment.