Skip to content

Commit

Permalink
pre-fill auth url if not empty
Browse files Browse the repository at this point in the history
  • Loading branch information
mdmohsin7 committed Nov 17, 2024
1 parent da5a273 commit 866547b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/lib/pages/apps/providers/add_app_provider.dart
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ class AddAppProvider extends ChangeNotifier {
webhookUrlController.text = app.externalIntegration!.webhookUrl;
setupCompletedController.text = app.externalIntegration!.setupCompletedUrl ?? '';
instructionsController.text = app.externalIntegration!.setupInstructionsFilePath;
if (app.externalIntegration!.authSteps.isNotEmpty) {
authUrlController.text = app.externalIntegration!.authSteps.first.url;
}
}
if (app.chatPrompt != null) {
chatPromptController.text = app.chatPrompt!.decodeString;
Expand Down

0 comments on commit 866547b

Please sign in to comment.