Did you tip me?

fineeee. luvs you munchies ;3

Enjoy the tip :blush:

1 Like

Getting

Traceback (most recent call last):
  File "main.py", line 35, in <module>
    tippers = getTips()
  File "main.py", line 19, in getTips
    "query": environ["USER_QUERY"],
  File "/nix/store/hd4cc9rh83j291r5539hkf6qd8lgiikb-python3-3.10.8/lib/python3.10/os.py", line 680, in __getitem__
    raise KeyError(key) from None
KeyError: 'USER_QUERY'

What is “USER_QUERY” and why does it need to be a secret?

doxr in the future: ah, you don’t want people to fork the project/see what the query is. Prob the query is messed up.

1 Like

It’s working completely fine for me!

Might as well make the query public

1 Like

It should work now. Some issue I think with Replit assuming that the env var doesn’t exist.

2 Likes

Oh, now I know why. It’s a ghost fork, so the env var is deleted. No wonder it ran for you; you were the owner. BTW The query is still in an environment var.

3 Likes

Hey do you mind if i fork it and copy your idea.
Pls
:grinning:

Yes, as long as you give credit to me (which you do by forking it)

1 Like

Oh hey, that’s my API :slightly_smiling_face:

Very cool usage of it, my original plan for it was supposed to be for micro-transactions

3 Likes

Wait, this is yours?