From e4101584322b575173690eb8a717a109fd4f8b31 Mon Sep 17 00:00:00 2001 From: lash Date: Wed, 15 Jan 2025 08:06:28 +0000 Subject: [PATCH] Add api selector for at --- cmd/africastalking/main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/africastalking/main.go b/cmd/africastalking/main.go index b89ebfe..fe24975 100644 --- a/cmd/africastalking/main.go +++ b/cmd/africastalking/main.go @@ -22,9 +22,8 @@ import ( at "git.grassecon.net/grassrootseconomics/visedriver-africastalking/africastalking" "git.grassecon.net/grassrootseconomics/sarafu-vise/args" - - httpremote "git.grassecon.net/grassrootseconomics/sarafu-api/remote/http" "git.grassecon.net/grassrootseconomics/sarafu-vise/handlers" + "git.grassecon.net/grassrootseconomics/sarafu-vise/services" ) var ( @@ -121,7 +120,8 @@ func main() { os.Exit(1) } - accountService := &httpremote.HTTPAccountService{} + accountService := services.New(ctx, menuStorageService, connData) + hl, err := lhs.GetHandler(accountService) if err != nil { fmt.Fprintf(os.Stderr, "httpaccountservice: %v\n", err)