add git configurations

This commit is contained in:
Usman Nasir
2020-03-16 19:14:39 +05:00
parent 49087440a9
commit a994c82efc
8 changed files with 313 additions and 28 deletions

View File

@@ -843,5 +843,13 @@ def fetchChangesInFile(request):
userID = request.session['userID']
wm = WebsiteManager()
return wm.fetchChangesInFile(userID, json.loads(request.body))
except KeyError:
return redirect(loadLoginPage)
def saveGitConfigurations(request):
try:
userID = request.session['userID']
wm = WebsiteManager()
return wm.saveGitConfigurations(userID, json.loads(request.body))
except KeyError:
return redirect(loadLoginPage)