Parcourir la source

Fix bug getting wrong project id upon creation

https
jakobsn il y a 6 ans
Parent
révision
20b6f29e1f
1 fichiers modifiés avec 0 ajouts et 1 suppressions
  1. +0
    -1
      src/app/models/project.py

+ 0
- 1
src/app/models/project.py Voir le fichier

@@ -37,7 +37,6 @@ def set_project(categoryid, userid, project_title, project_description, project_
db.commit()
cursor.close()
users_projects = get_projects_by_owner(userid)
print("Project", users_projects)
projectid = users_projects[-1][0]
return projectid



Chargement…
Annuler
Enregistrer