nagasurendra commited on
Commit
ce1d604
·
verified ·
1 Parent(s): ddd5fdc

Update user_details.py

Browse files
Files changed (1) hide show
  1. user_details.py +2 -1
user_details.py CHANGED
@@ -1,5 +1,6 @@
1
  from flask import Blueprint, session, redirect, url_for, flash, render_template, request, jsonify
2
- from your_salesforce_module import sf # Import Salesforce connection
 
3
 
4
  # Create blueprint for user details
5
  user_details_blueprint = Blueprint('user_details', __name__)
 
1
  from flask import Blueprint, session, redirect, url_for, flash, render_template, request, jsonify
2
+ from salesforce import get_salesforce_connection
3
+ sf = get_salesforce_connection() # Import Salesforce connection
4
 
5
  # Create blueprint for user details
6
  user_details_blueprint = Blueprint('user_details', __name__)