Skip to content

Commit

Permalink
Merge pull request #4005 from ozer550/FIX_CHANNEL_SET_ISSUE
Browse files Browse the repository at this point in the history
Add user_id to ChannelSet object
  • Loading branch information
bjester authored Apr 11, 2023
2 parents d553bac + 6e67bdc commit 5565fd1
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1546,6 +1546,11 @@ export const ContentNode = new TreeResource({
export const ChannelSet = new Resource({
tableName: TABLE_NAMES.CHANNELSET,
urlName: 'channelset',
setUserIdOnChange(change) {
if (vuexStore) {
change.user_id = vuexStore.getters.currentUserId;
}
},
});

export const Invitation = new Resource({
Expand Down

0 comments on commit 5565fd1

Please sign in to comment.