fix: notify invoice notification key query.

This commit is contained in:
a.bouhuolia
2021-11-10 22:02:00 +02:00
parent e0c03141f0
commit 95e75f0e8f
2 changed files with 3 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
import React from 'react';
import intl from 'react-intl-universal';
import { pick } from 'lodash';
import { Intent } from '@blueprintjs/core';
import { AppToaster } from 'components';
@@ -12,9 +12,7 @@ import withDialogActions from 'containers/Dialog/withDialogActions';
import { compose } from 'utils';
const transformFormValuesToRequest = (values) => {
return {
notification_type: values.notification_key,
};
return pick(values, ['notification_key']);
};
/**