Skip to content

Commit

Permalink
chore: remove unnecessary ToProto func
Browse files Browse the repository at this point in the history
  • Loading branch information
treilik committed Aug 19, 2022
1 parent 75e211b commit 01c1452
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions ketoapi/enc_proto.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,6 @@ func (r *RelationTuple) ToProto() *rts.RelationTuple {
return res
}

func (s *SubjectSet) ToProto() *rts.SubjectSet {
res := &rts.SubjectSet{
Namespace: s.Namespace,
Object: s.Object,
Relation: s.Relation,
}
return res
}

func (q *RelationQuery) FromDataProvider(d queryData) *RelationQuery {
q.Namespace = d.GetNamespace()
q.Object = d.GetObject()
Expand Down

0 comments on commit 01c1452

Please sign in to comment.