Spaces:
Build error
Build error
Commit
·
63a4eb4
1
Parent(s):
e68d679
fix
Browse files
app.py
CHANGED
|
@@ -340,7 +340,11 @@ def get_tv_metadata_api():
|
|
| 340 |
|
| 341 |
@app.route("/api/all_films")
|
| 342 |
def get_all_films_api():
|
| 343 |
-
get_all_films()
|
|
|
|
|
|
|
|
|
|
|
|
|
| 344 |
|
| 345 |
|
| 346 |
# Routes
|
|
|
|
| 340 |
|
| 341 |
@app.route("/api/all_films")
|
| 342 |
def get_all_films_api():
|
| 343 |
+
return get_all_films()
|
| 344 |
+
|
| 345 |
+
@app.route("/api/all_tvshows")
|
| 346 |
+
def get_all_tvshows_api():
|
| 347 |
+
return get_all_tv_shows()
|
| 348 |
|
| 349 |
|
| 350 |
# Routes
|