Skip to content

Commit 3f88ca1

Browse files
committed
remove debug code
1 parent b246a4d commit 3f88ca1

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/permissions/project.updateAttachment.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,12 @@ module.exports = freq => new Promise((resolve, reject) => {
1212
const projectId = _.parseInt(freq.params.projectId);
1313
const attachmentId = _.parseInt(freq.params.id);
1414

15-
freq.log.debug('Hello');
16-
1715
if (util.hasAdminRole(freq)) {
18-
freq.log.debug('Has Admin Role!');
1916
return resolve(true);
2017
}
2118

22-
freq.log.debug('Hello Hello Hello');
23-
2419
return models.ProjectAttachment.getAttachmentById(projectId, attachmentId)
2520
.then((attachment) => {
26-
freq.log.debug('Hello Hello');
2721
const req = freq;
2822
req.context = req.context || {};
2923
req.context.existingAttachment = attachment;

0 commit comments

Comments
 (0)