Set table name in store
This commit is contained in:
parent
b3915b6020
commit
38cdb9cc2f
@ -110,7 +110,7 @@ func (s *service) Init(opts ...Option) {
|
|||||||
|
|
||||||
// Explicitly set the table name to the service name
|
// Explicitly set the table name to the service name
|
||||||
name := s.opts.Cmd.App().Name
|
name := s.opts.Cmd.App().Name
|
||||||
store.DefaultStore.Init(store.Table(name))
|
s.opts.Store.Init(store.Table(name))
|
||||||
|
|
||||||
// TODO: replace Cmd.Init with config.Load
|
// TODO: replace Cmd.Init with config.Load
|
||||||
// Right now we're just going to load a token
|
// Right now we're just going to load a token
|
||||||
|
Loading…
Reference in New Issue
Block a user