Fixed issue in causing group editing to not work
• Fixed: - issue in causing group editing to not work
This commit is contained in:
parent
c37a5822fc
commit
a0a701058f
@ -117,7 +117,7 @@ const createGroupFail = (error) => ({
|
||||
const updateGroup = (groupId, options, routerHistory) => (dispatch, getState) => {
|
||||
if (!me) return
|
||||
|
||||
dispatch(updateRequest())
|
||||
dispatch(updateGroupRequest())
|
||||
|
||||
const formData = new FormData()
|
||||
formData.append('title', options.title)
|
||||
|
6
app/serializers/rest/poll_option_serializer.rb
Normal file
6
app/serializers/rest/poll_option_serializer.rb
Normal file
@ -0,0 +1,6 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class REST::PollOptionSerializer < ActiveModel::Serializer
|
||||
attributes :title, :votes_count
|
||||
|
||||
end
|
Loading…
Reference in New Issue
Block a user