Skip to content

Commit

Permalink
Fixed-Lint-Errors
Browse files Browse the repository at this point in the history
  • Loading branch information
seif khelifi committed Sep 5, 2024
1 parent ff3c0e2 commit cb536a5
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/groups/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,9 @@ module.exports = function (Groups) {
throw new Error('[[error:group-already-exists]]');
}
}

mock_dat = {data, timestamp}

// Function to create group data
function createGroupData(mock_dat, isSystem, isHidden, isPrivate,
function createGroupData(data, timestamp, isSystem, isHidden, isPrivate,
disableJoinRequests, disableLeave, memberCount) {
data = mock_dat.data
timestamp = mock_dat.timestamp
return {
name: data.name,
slug: slugify(data.name),
Expand Down

0 comments on commit cb536a5

Please sign in to comment.