first commit
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import db
|
||||
|
||||
|
||||
def move_flow_node(slug, node_id, x, y):
|
||||
conn = db.connect(slug)
|
||||
conn.execute("UPDATE _flow_nodes SET x = ?, y = ? WHERE id = ?", (x, y, node_id))
|
||||
conn.commit()
|
||||
conn.close()
|
||||
Reference in New Issue
Block a user