remove unused setadmin store

This commit is contained in:
Carlosokumu 2024-11-01 11:51:50 +03:00
parent 7e448f739a
commit eb2c73dce1
Signed by: carlos
GPG Key ID: 7BD6BC8160A5C953

View File

@ -62,10 +62,6 @@ func (ls *LocalHandlerService) SetDataStore(db *db.Db) {
ls.UserdataStore = db ls.UserdataStore = db
} }
func (ls *LocalHandlerService) SetAdminStore(adminstore *utils.AdminStore) {
ls.AdminStore = adminstore
}
func (ls *LocalHandlerService) GetHandler(accountService server.AccountServiceInterface) (*ussd.Handlers, error) { func (ls *LocalHandlerService) GetHandler(accountService server.AccountServiceInterface) (*ussd.Handlers, error) {
ussdHandlers, err := ussd.NewHandlers(ls.Parser, *ls.UserdataStore, ls.AdminStore, accountService) ussdHandlers, err := ussd.NewHandlers(ls.Parser, *ls.UserdataStore, ls.AdminStore, accountService)
if err != nil { if err != nil {