Fix files alwasy requested even when not

Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
Bryan Frimin
2026-02-11 14:35:17 +01:00
parent bd9c1946ae
commit c5ef46b9b4

View File

@@ -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 {