Skip to content

Commit

Permalink
fix(ws): fix git push bug
Browse files Browse the repository at this point in the history
  • Loading branch information
booboosui committed Sep 3, 2023
1 parent 4233c1e commit c7f38a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/app/controllers/workspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ def create():
def gitpush():
_ = getI18n("controllers")
username = session['username']
commitMsg = session[username]['memory']['originalPrompt']
requirementID = request.json.get('task_id')
serviceName = request.json.get('service_name')
fatureBranch = session[username]['memory']['task_info']['feature_branch']
wsPath = get_ws_path(requirementID)
req = Requirement.get_requirement_by_id(requirementID)
commitMsg = req["requirement_name"]
fatureBranch = req["default_target_branch"]
gitPath, success = getServiceGitPath(req["app_id"], serviceName)
tenantID = session['tenant_id']
username = session['username']
Expand Down

0 comments on commit c7f38a9

Please sign in to comment.