Skip to content

Commit

Permalink
Fixing callback for scheduled messages (#31)
Browse files Browse the repository at this point in the history
Co-authored-by: Maksym Bilan <>
  • Loading branch information
maximbilan authored Sep 11, 2024
1 parent 77ba34a commit c4535d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/scheduler/scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ func SendMessage(w http.ResponseWriter, r *http.Request) {
var reply *telegram.InlineKeyboardMarkup
switch msg.Type {
case Morning, Evening:
callbackData := "note_make"
callbackData := "/note"
reply = &telegram.InlineKeyboardMarkup{
InlineKeyboard: [][]telegram.InlineKeyboardButton{
{
Expand Down

0 comments on commit c4535d4

Please sign in to comment.