Skip to content

Commit

Permalink
fix: responding to list callback handlers.
Browse files Browse the repository at this point in the history
  • Loading branch information
arshamalh committed Nov 8, 2023
1 parent 67066b8 commit 5a1b0de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions telegram/handlers/containers.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ func (h *handler) ContainersBackBtn(ctx telebot.Context) error {
}

func (h *handler) ContainersList(ctx telebot.Context) error {
ctx.Respond()
userID := ctx.Chat().ID
containers := h.docker.ContainersList()
h.session.SetContainers(userID, containers)
Expand Down
1 change: 1 addition & 0 deletions telegram/handlers/images.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (
)

func (h *handler) ImagesList(ctx telebot.Context) error {
ctx.Respond()
userID := ctx.Chat().ID
images := h.docker.ImagesList()
h.session.SetImages(userID, images)
Expand Down

0 comments on commit 5a1b0de

Please sign in to comment.