Fixed issue in causing group editing to not work

• Fixed:
- issue in causing group editing to not work
This commit is contained in:
mgabdev 2020-12-22 23:42:27 -05:00
parent c37a5822fc
commit a0a701058f
2 changed files with 7 additions and 1 deletions

View File

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

View File

@ -0,0 +1,6 @@
# frozen_string_literal: true
class REST::PollOptionSerializer < ActiveModel::Serializer
attributes :title, :votes_count
end