Skip to content

Commit

Permalink
Fix duplicate event being inaccessible
Browse files Browse the repository at this point in the history
  • Loading branch information
alxlion committed Oct 5, 2024
1 parent 107be10 commit a4e55e1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## v2.1.2

### Fixes and improvements

- Fix duplicate event being inaccesible

## v2.1.1

### Fixes and improvements
Expand Down
2 changes: 1 addition & 1 deletion lib/claper/events.ex
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ defmodule Claper.Events do
|> Map.drop([:id, :inserted_at, :updated_at])
|> Map.put(:presentation_file_id, new_presentation_file.id)
|> Map.put(:position, 0)
|> Map.put(:banned, nil)
|> Map.put(:banned, {})

Claper.Presentations.create_presentation_state(attrs)
end)
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule Claper.MixProject do
use Mix.Project

@version "2.1.1"
@version "2.1.2"

def project do
[
Expand Down

0 comments on commit a4e55e1

Please sign in to comment.