mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-23 14:40:47 +01:00
Update views_api.py
This commit is contained in:
parent
e9f21bb2cf
commit
c410e7d79e
1 changed files with 3 additions and 2 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
#add your dependencies here
|
||||
|
||||
import json
|
||||
import requests
|
||||
from flask import jsonify, render_template, request, redirect, url_for
|
||||
from lnbits.db import open_db, open_ext_db
|
||||
from lnbits.extensions.example import example_ext
|
||||
|
@ -13,5 +15,4 @@ def api_example():
|
|||
"""Try to add descriptions for others."""
|
||||
#YOUR-CODE
|
||||
|
||||
return jsonify({"status": "TRUE"), 200
|
||||
|
||||
return jsonify({"status": "TRUE"}), 200
|
||||
|
|
Loading…
Add table
Reference in a new issue