Correct package name in errors, add state store getter
This commit is contained in:
parent
bd604219b8
commit
f0a4a0df61
@ -57,3 +57,7 @@ func(ss *StorageService) GetUserdataDb(ctx context.Context) (db.Db, error) {
|
||||
func(ss *StorageService) GetResource(ctx context.Context) (resource.Resource, error) {
|
||||
return nil, errors.New("not implemented")
|
||||
}
|
||||
|
||||
func(ss *StorageService) GetStateStore(ctx context.Context) (db.Db, error) {
|
||||
return ss.svc.GetStateStore(ctx)
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
package common
|
||||
package errors
|
||||
|
||||
import (
|
||||
"git.grassecon.net/urdt/ussd/internal/handlers"
|
||||
|
Loading…
Reference in New Issue
Block a user