Skip to content

Commit b90175f

Browse files
committed
bug
1 parent 719953b commit b90175f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/Containers/Dashboard.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ class Dashboard extends Component {
250250
});
251251
};
252252

253-
makeAdmin = (userId) => {
253+
makeAdmin = (userId, details) => {
254254
if (this._isOkToForceLogout(details)) {
255255
const { user } = this.props;
256256
socket.emit('FORCE_LOGOUT', userId, user._id);

0 commit comments

Comments
 (0)