From 38cdb9cc2fb5f0219d03d8a221142d5c08d5e9e5 Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Fri, 1 May 2020 18:24:35 +0100 Subject: [PATCH] Set table name in store --- service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service.go b/service.go index e8115d29..c81127d2 100644 --- a/service.go +++ b/service.go @@ -110,7 +110,7 @@ func (s *service) Init(opts ...Option) { // Explicitly set the table name to the service 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 // Right now we're just going to load a token