Correct package name in errors, add state store getter

This commit is contained in:
lash 2025-01-05 07:19:25 +00:00
parent bd604219b8
commit f0a4a0df61
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746
2 changed files with 5 additions and 1 deletions

View File

@ -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)
}

View File

@ -1,4 +1,4 @@
package common
package errors
import (
"git.grassecon.net/urdt/ussd/internal/handlers"