Update create_invoice.py

Remove the example invoice function as the 'else' statement already captures this
This commit is contained in:
Dallas Young
2025-05-01 14:32:35 -04:00
committed by Steve Androulakis
parent 3e9439022e
commit 470ef08615

View File

@@ -69,15 +69,3 @@ def create_invoice(args: dict) -> dict:
"invoiceURL": "https://pay.example.com/invoice/12345", "invoiceURL": "https://pay.example.com/invoice/12345",
"reference": "INV-12345", "reference": "INV-12345",
} }
def create_invoice_example(args: dict) -> dict:
"""
This is an example implementation of the CreateInvoice tool
Doesn't call any external services, just returns a dummy response
"""
print("[CreateInvoice] Creating invoice with:", args)
return {
"invoiceStatus": "generated",
"invoiceURL": "https://pay.example.com/invoice/12345",
"reference": "INV-12345",
}