Skip to content

Commit

Permalink
Change "bind_to" to "offer_id" in prism-create.
Browse files Browse the repository at this point in the history
  • Loading branch information
farscapian committed May 23, 2024
1 parent 3512f7e commit 2fd3a09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ Binds a prism to either a bolt12 offer such that the prism will be executed upon
{
"status": "must-create",
"timestamp": 1715879765,
"bind_to": "2a5afc3132b75e6c30a3ad932507f83c27c57fa96e56a6ff856b67db9e12d9a9",
"offer_id": "2a5afc3132b75e6c30a3ad932507f83c27c57fa96e56a6ff856b67db9e12d9a9",
"prism_id": "prism3",
"prism_binding_key": [
"prism",
Expand Down
2 changes: 1 addition & 1 deletion lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ def add_binding(plugin: Plugin, bind_to: str, prism_id: str, bolt_version="bolt
response = {
"status": dbmode,
"timestamp": timestamp,
"bind_to": bind_to,
"offer_id": bind_to,
"prism_id": prism_id,
"prism_binding_key": prism_binding_key,
"prism_members": [member.to_dict() for member in members]
Expand Down

0 comments on commit 2fd3a09

Please sign in to comment.