Skip to content

Commit

Permalink
fix: small bug with AddMany2ManyDeleteHook
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabian Simon committed Aug 3, 2023
1 parent bfb6c63 commit 6224c32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate_code_db_hook.go.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ func AddMany2ManyAddHook[U AutoGqlHookM2M, UP AutoGqlHookUP](db *AutoGqlDB, name
{{- end}}
{{- end}}
{{- end }}
func AddMany2ManyDeleteHook[U AutoGqlHookM2M, DP AutoGqlHookDP](db *AutoGqlDB, name Many2ManyAddName, implementation AutoGqlHookMany2ManyDelete[U, DP]) {
func AddMany2ManyDeleteHook[U AutoGqlHookM2M, DP AutoGqlHookDP](db *AutoGqlDB, name Many2ManyDeleteName, implementation AutoGqlHookMany2ManyDelete[U, DP]) {
db.Hooks[string(name)] = implementation
}

Expand Down

0 comments on commit 6224c32

Please sign in to comment.