Skip to content

Commit

Permalink
self rev
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-fbudzynski committed Dec 16, 2024
1 parent 546e125 commit 64fea51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/sdk/poc/generator/operation.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ func (i *Interface) newOperationWithDBMapping(
resourceRepresentation *plainStruct,
queryStruct *QueryStruct,
addMappingFunc func(op *Operation, from, to *Field),
objectHelperMethods ...ResourceHelperMethodKind,
resourceHelperMethods ...ResourceHelperMethodKind,
) *Operation {
db := dbRepresentation.IntoField()
res := resourceRepresentation.IntoField()
Expand All @@ -136,7 +136,7 @@ func (i *Interface) newOperationWithDBMapping(
withHelperStruct(res).
withOptionsStruct(queryStruct.IntoField()).
withObjectInterface(i).
withResourceHelperMethods(res.Name, objectHelperMethods...)
withResourceHelperMethods(res.Name, resourceHelperMethods...)

addMappingFunc(op, db, res)
i.Operations = append(i.Operations, op)
Expand Down

0 comments on commit 64fea51

Please sign in to comment.