File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
internal/sms-gateway/modules/auth Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ import (
1212 "github.com/android-sms-gateway/server/internal/sms-gateway/online"
1313 "github.com/android-sms-gateway/server/internal/sms-gateway/users"
1414 "github.com/capcom6/go-helpers/cache"
15- "github.com/jaevor/go-nanoid"
1615 "go.uber.org/zap"
1716)
1817
@@ -31,8 +30,6 @@ type Service struct {
3130 logger * zap.Logger
3231
3332 codesCache * cache.Cache [string ]
34-
35- idgen func () string
3633}
3734
3835func New (
@@ -42,8 +39,6 @@ func New(
4239 onlineSvc online.Service ,
4340 logger * zap.Logger ,
4441) * Service {
45- idgen , _ := nanoid .Standard (21 )
46-
4742 return & Service {
4843 config : config ,
4944
@@ -54,8 +49,6 @@ func New(
5449 logger : logger ,
5550
5651 codesCache : cache.New [string ](cache.Config {}),
57-
58- idgen : idgen ,
5952 }
6053}
6154
You can’t perform that action at this time.
0 commit comments