Fix files alwasy requested even when not
Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
@@ -529,6 +529,7 @@ func (r *mutationResolver) RequestDocumentAccess(ctx context.Context, input type
|
|||||||
FullName: identity.FullName,
|
FullName: identity.FullName,
|
||||||
DocumentIDs: []gid.GID{input.DocumentID},
|
DocumentIDs: []gid.GID{input.DocumentID},
|
||||||
ReportIDs: []gid.GID{},
|
ReportIDs: []gid.GID{},
|
||||||
|
TrustCenterFileIDs: []gid.GID{},
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -578,6 +579,7 @@ func (r *mutationResolver) RequestReportAccess(ctx context.Context, input types.
|
|||||||
FullName: identity.FullName,
|
FullName: identity.FullName,
|
||||||
DocumentIDs: []gid.GID{},
|
DocumentIDs: []gid.GID{},
|
||||||
ReportIDs: []gid.GID{input.ReportID},
|
ReportIDs: []gid.GID{input.ReportID},
|
||||||
|
TrustCenterFileIDs: []gid.GID{},
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user