fix: add project id on project grant (#202)

* fix: add project id on project grant

* fix: get granted project grant member
This commit is contained in:
Fabi
2020-06-10 14:28:15 +02:00
committed by GitHub
parent 652a408c99
commit 9965beee9c
9 changed files with 649 additions and 626 deletions

View File

@@ -15,6 +15,10 @@ func (v *View) GrantedProjectByIDs(projectID, orgID string) (*model.GrantedProje
return view.GrantedProjectByIDs(v.Db, grantedProjectTable, projectID, orgID)
}
func (v *View) GrantedProjectGrantByIDs(projectID, grantID string) (*model.GrantedProjectView, error) {
return view.GrantedProjectGrantByIDs(v.Db, grantedProjectTable, projectID, grantID)
}
func (v *View) GrantedProjectsByID(projectID string) ([]*model.GrantedProjectView, error) {
return view.GrantedProjectsByID(v.Db, grantedProjectTable, projectID)
}