1
0

fix(project): reset id before creating

Resolves https://vikunja.sentry.io/share/issue/6f1e37d4b8b248188e20650234a45cde/

(cherry picked from commit 8d730543c3c7bbb8e4f3a8b18022275a35ce5330)
This commit is contained in:
kolaente 2024-09-11 23:45:49 +02:00
parent 78b8ea6211
commit d23484c8f3
No known key found for this signature in database
GPG Key ID: F40E70337AB24C9B

View File

@ -811,6 +811,7 @@ func CreateProject(s *xorm.Session, project *Project, auth web.Auth, createBackl
return err
}
project.ID = 0
project.OwnerID = doer.ID
project.Owner = doer