diff --git a/service/api/service.go b/service/api/service.go index 8504887d..13d10d9d 100644 --- a/service/api/service.go +++ b/service/api/service.go @@ -47,5 +47,4 @@ func init() { commit.InitCommitWithKeyService[Proxy]("api", string(HistoryProxy)) commit.InitCommitWithKeyService[Request]("api", string(HistoryRequest)) - } diff --git a/stores/universally/commit/wtype.go b/stores/universally/commit/wtype.go index ee9a967a..116ef1b8 100644 --- a/stores/universally/commit/wtype.go +++ b/stores/universally/commit/wtype.go @@ -22,6 +22,7 @@ type StoreWidthType[H any] struct { func NewCommitWithKey[H any](name, key string) *StoreWidthType[H] { return &StoreWidthType[H]{ Store: Store[H]{ + name: name, latestTableName: name + "_latest", commitTableName: name + "_commit", },