Set table name in store
This commit is contained in:
		| @@ -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 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user