2 Commits

  1. 9
      CHANGELOG.md
  2. 2
      lib/mirage/links/link.ex
  3. 2
      mix.exs

9
CHANGELOG.md

@ -5,6 +5,15 @@ See [Conventional Commits](Https://conventionalcommits.org) for commit guideline
<!-- changelog -->
## [v0.36.1](https://git.inhji.de/inhji/mirage/compare/v0.36.0...v0.36.1) (2021-02-15)
### Bug Fixes:
* cast note_id for migration
## [v0.36.0](https://git.inhji.de/inhji/mirage/compare/v0.35.0...v0.36.0) (2021-02-15)

2
lib/mirage/links/link.ex

@ -13,7 +13,7 @@ defmodule Mirage.Links.Link do
@doc false
def changeset(link, attrs) do
link
|> cast(attrs, [:title, :url])
|> cast(attrs, [:title, :url, :note_id])
|> validate_required([:url])
end
end

2
mix.exs

@ -1,7 +1,7 @@
defmodule Mirage.MixProject do
use Mix.Project
@version "0.36.0"
@version "0.36.1"
def project do
[

Loading…
Cancel
Save