Skip to content

Commit

Permalink
fix: key marshalling bug
Browse files Browse the repository at this point in the history
  • Loading branch information
medgar-nitric committed Jul 13, 2021
1 parent 0534bda commit 716f345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adapters/grpc/document_grpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func toPbDoc(doc *sdk.Document) (*pb.Document, error) {
}

func toSdkKey(key *pb.Key) *sdk.Key {
if key != nil {
if key == nil {
return nil
}

Expand Down

0 comments on commit 716f345

Please sign in to comment.