Fix duplicate event being inaccessible

This commit is contained in:
Alex
2024-10-05 12:58:42 +02:00
parent 107be10b5c
commit a4e55e1221
3 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
## v2.1.2
### Fixes and improvements
- Fix duplicate event being inaccesible
## v2.1.1
### Fixes and improvements

View File

@@ -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)

View File

@@ -1,7 +1,7 @@
defmodule Claper.MixProject do
use Mix.Project
@version "2.1.1"
@version "2.1.2"
def project do
[