mirror of
https://github.com/zitadel/zitadel.git
synced 2025-06-16 23:28:34 +00:00
fix: project grant delete (#417)
This commit is contained in:
parent
e8f3868100
commit
aeae04c90b
@ -69,6 +69,6 @@ func PutProjectGrant(db *gorm.DB, table string, project *model.ProjectGrantView)
|
|||||||
}
|
}
|
||||||
|
|
||||||
func DeleteProjectGrant(db *gorm.DB, table, grantID string) error {
|
func DeleteProjectGrant(db *gorm.DB, table, grantID string) error {
|
||||||
delete := repository.PrepareDeleteByKey(table, model.ProjectSearchKey(proj_model.GrantedProjectSearchKeyGrantID), grantID)
|
delete := repository.PrepareDeleteByKey(table, model.ProjectGrantSearchKey(proj_model.GrantedProjectSearchKeyGrantID), grantID)
|
||||||
return delete(db)
|
return delete(db)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user