Skip to content

Commit

Permalink
Fixed3
Browse files Browse the repository at this point in the history
  • Loading branch information
seif khelifi committed Sep 5, 2024
1 parent 7974f1f commit d63e1eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/groups/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module.exports = function (Groups) {
if (exists || privGroupExists) {
throw new Error('[[error:group-already-exists]]');
}

console.log('sarra : refactored code executed');

Check failure on line 23 in src/groups/create.js

View workflow job for this annotation

GitHub Actions / test

Trailing spaces not allowed
const memberCount = data.hasOwnProperty('ownerUid') ? 1 : 0;
const isPrivate = data.hasOwnProperty('private') && data.private !== undefined ? parseInt(data.private, 10) === 1 : true;
let groupData = {
Expand Down

0 comments on commit d63e1eb

Please sign in to comment.