Skip to content

Commit b58749c

Browse files
authored
Merge pull request #1202 from mathematicalthinking/adminActionButtons
bug
2 parents 863f932 + b90175f commit b58749c

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)