Merge pull request #6886 from MaximKhlobystov/client-logger-on-feedback
Client logger on feedback
This commit is contained in:
commit
47e52b709c
@ -8,7 +8,7 @@ import getFromUserSettings from '/imports/ui/services/users-settings';
|
||||
import logoutRouteHandler from '/imports/utils/logoutRouteHandler';
|
||||
import Rating from './rating/component';
|
||||
import { styles } from './styles';
|
||||
|
||||
import logger from '/imports/startup/client/logger';
|
||||
|
||||
const intlMessage = defineMessages({
|
||||
410: {
|
||||
@ -121,6 +121,9 @@ class MeetingEnded extends React.PureComponent {
|
||||
},
|
||||
};
|
||||
|
||||
// client logger
|
||||
logger.info({ feedback: message, logCode: 'feedback' }, 'Feedback');
|
||||
|
||||
fetch(url, options)
|
||||
.then(() => {
|
||||
logoutRouteHandler();
|
||||
|
Loading…
Reference in New Issue
Block a user