From 86539135ecf58a232e559ce158458ad9b2cfc65a Mon Sep 17 00:00:00 2001 From: Abhishek koserwal Date: Fri, 4 Oct 2024 19:26:13 +0530 Subject: [PATCH] Update internal/data/spicedb.go Co-authored-by: Jonathan Marcantonio --- internal/data/spicedb.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/data/spicedb.go b/internal/data/spicedb.go index 706ebc9..799dfe7 100644 --- a/internal/data/spicedb.go +++ b/internal/data/spicedb.go @@ -263,6 +263,7 @@ func (s *SpiceDbRepository) ImportBulkTuples(stream grpc.ClientStreamingServer[a inputRelationships := (*req).Tuples batch := []*v1.Relationship{} for _, tuple := range inputRelationships { + tuple.Relation = addRelationPrefix(tuple.Relation, relationPrefix) batch = append(batch, createSpiceDbRelationship(tuple)) } client, err := s.client.ImportBulkRelationships(context.Background())