Skip to content

Commit

Permalink
Add user id to change object
Browse files Browse the repository at this point in the history
  • Loading branch information
ozer550 committed Mar 28, 2023
1 parent 385cda0 commit 6e67bdc
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 6e67bdc

Please sign in to comment.