Skip to content

Commit

Permalink
fixed URI
Browse files Browse the repository at this point in the history
  • Loading branch information
JackBekket committed Dec 17, 2022
1 parent 09ac84b commit 04a7958
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
"math/big"
"net/http"
"strconv"
"strings"

"os"

Expand Down Expand Up @@ -288,9 +289,11 @@ func main() {
// remove file locally after upload
deleteFile(file_name)

uri_short := strings.Split(telegraph_link,"/")


// create link to mint NFT
createLink(userDatabase[update.Message.From.ID].tgid,file_name,baseURL)
createLink(userDatabase[update.Message.From.ID].tgid,uri_short[2],baseURL)

subscription, err := SubscribeForCreateItem(session_single_nft, ch) // this is subscription to UNINDEXED event.
if err != nil {
Expand Down

0 comments on commit 04a7958

Please sign in to comment.