Skip to content

Commit

Permalink
fix: Assign ds_mov_id on movie edit
Browse files Browse the repository at this point in the history
  • Loading branch information
noahpistilli committed Dec 8, 2024
1 parent 4ffaeed commit 877897d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions theunderground/movies.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ def edit_movie(movie_id):
flash("Invalid DS movie")
return render_template("movie_action.html", form=form, action="Edit")

movie.ds_mov_id = movie.movie_id

save_movie_data(movie.movie_id, thumbnail_data, movie_data, ds_movie_data)

# Finally update the title, genre and category.
Expand Down

0 comments on commit 877897d

Please sign in to comment.