mirror of
https://github.com/ClaperCo/Claper.git
synced 2025-12-16 11:57:58 +01:00
Fix duplicate event being inaccessible
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
## v2.1.2
|
||||||
|
|
||||||
|
### Fixes and improvements
|
||||||
|
|
||||||
|
- Fix duplicate event being inaccesible
|
||||||
|
|
||||||
## v2.1.1
|
## v2.1.1
|
||||||
|
|
||||||
### Fixes and improvements
|
### Fixes and improvements
|
||||||
|
|||||||
@@ -428,7 +428,7 @@ defmodule Claper.Events do
|
|||||||
|> Map.drop([:id, :inserted_at, :updated_at])
|
|> Map.drop([:id, :inserted_at, :updated_at])
|
||||||
|> Map.put(:presentation_file_id, new_presentation_file.id)
|
|> Map.put(:presentation_file_id, new_presentation_file.id)
|
||||||
|> Map.put(:position, 0)
|
|> Map.put(:position, 0)
|
||||||
|> Map.put(:banned, nil)
|
|> Map.put(:banned, {})
|
||||||
|
|
||||||
Claper.Presentations.create_presentation_state(attrs)
|
Claper.Presentations.create_presentation_state(attrs)
|
||||||
end)
|
end)
|
||||||
|
|||||||
Reference in New Issue
Block a user