Skip to content

Commit

Permalink
Async in nostr
Browse files Browse the repository at this point in the history
  • Loading branch information
KoalaSat committed Aug 7, 2024
1 parent dfe0f26 commit 3b81b96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/nostr.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def generate_tags(self, order, robot_name):
tags = [
["d", uuid.UUID(hashed_id)],
["name", robot_name],
["k", order.type.lower()],
["k", "sell" if order.type == Order.Types.SELL else "buy"],
["f", order.currency],
["s", self.get_status_tag(order)],
["amt", "0"],
Expand Down

0 comments on commit 3b81b96

Please sign in to comment.