Skip to content

Commit

Permalink
Improve documentation for project validation
Browse files Browse the repository at this point in the history
  • Loading branch information
noah-schechter committed Dec 30, 2024
1 parent 75a84a3 commit 47c6d49
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions platform/lib/platform/material/media.ex
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,9 @@ defmodule Platform.Material.Media do
changeset
end

@doc """
Validates changes to a piece of media's project.
"""
def validate_project(changeset, media \\ [], opts) do
user = Keyword.get(opts, :user)

Expand Down

0 comments on commit 47c6d49

Please sign in to comment.