Let's try something

This commit is contained in:
Hamcha 2018-09-17 15:52:18 +02:00
parent 3670cafaac
commit da60c15f44
Signed by: hamcha
GPG key ID: A40413D21021EAEE

View file

@ -51,7 +51,6 @@ func webhook(update tg.APIUpdate) {
return return
} }
go func() {
query := update.Inline.Query query := update.Inline.Query
offset, _ := strconv.Atoi(update.Inline.Offset) offset, _ := strconv.Atoi(update.Inline.Offset)
results, err := scryfallSearch(query, offset) results, err := scryfallSearch(query, offset)
@ -102,5 +101,4 @@ func webhook(update tg.APIUpdate) {
// DO SOMETHING // DO SOMETHING
return return
} }
}()
} }