We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 824c599 commit b1301b0Copy full SHA for b1301b0
1 file changed
cmd/eagle/internal/repo/add/template.go
@@ -102,6 +102,7 @@ func (r *{{.LcName}}Repo) Update{{.Name}}(ctx context.Context, id int64, data *m
102
{{- if .WithCache }}
103
// delete cache
104
_ = r.cache.Del{{.Name}}Cache(ctx, id)
105
+ _ = r.localCache.Del(ctx, cast.ToString(id))
106
{{- end }}
107
return nil
108
}
0 commit comments