Skip to content

Commit

Permalink
Fix CI failure
Browse files Browse the repository at this point in the history
  • Loading branch information
ismaelbej committed Sep 10, 2024
1 parent 581592b commit 5c51b38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions assets/js/components/collaborators/InviteModal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export class InviteModal extends Component {
}

emailOnChange(e) {
this.props.guestActions.changeEmail(e.target.value, this.props.collaborators)
this.props.guestActions.changeEmail(e.target.value)
}

emailOnBlur(e) {
Expand All @@ -42,7 +42,7 @@ export class InviteModal extends Component {
return
}
if (newEmail != config.user) {
Promise.resolve(this.props.guestActions.changeEmail(newEmail, this.props.collaborators)).then(() => {
Promise.resolve(this.props.guestActions.changeEmail(newEmail)).then(() => {
Promise.resolve(
this.props.actions.getInviteByEmailAndProject(projectId, guest.data.email)
).then((dbGuest) => {
Expand Down
1 change: 0 additions & 1 deletion test/js/reducers/guest.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import expect from 'expect'
import assert from 'assert'
import reducer from '../../../assets/js/reducers/guest'
import * as actions from '../../../assets/js/actions/guest'
import { exec } from 'child_process'

describe('guest reducer', () => {
const initialState = reducer(undefined, {})
Expand Down

0 comments on commit 5c51b38

Please sign in to comment.