12 lines
283 B
Python
12 lines
283 B
Python
from flask import jsonify
|
|
|
|
import screens
|
|
|
|
from core.flask_app import app
|
|
|
|
|
|
@app.route("/game/<slug>/animations/clips/<int:clip_id>/delete", methods=["POST"])
|
|
def animation_clip_delete(slug, clip_id):
|
|
screens.delete_animation_clip(slug, clip_id)
|
|
return jsonify({"ok": True})
|