Skip to content

Commit 63b76dc

Browse files
committed
Lint
1 parent c0e0e03 commit 63b76dc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/models/project.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ export default class ProjectModel extends AbstractModel<ProjectDBScheme> impleme
237237
* @param payload - rule data to save
238238
* @param isAutoAdded - true when rule is created automatically (on project creation or conversion of old projects)
239239
*/
240-
public async createNotificationsRule(payload: CreateProjectNotificationsRulePayload, isAutoAdded: boolean = false): Promise<ProjectNotificationsRuleDBScheme> {
240+
public async createNotificationsRule(payload: CreateProjectNotificationsRulePayload, isAutoAdded = false): Promise<ProjectNotificationsRuleDBScheme> {
241241
const rule: ProjectNotificationsRuleDBScheme = {
242242
_id: new ObjectId(),
243243
uidAdded: new ObjectId(payload.uidAdded),
@@ -247,8 +247,8 @@ export default class ProjectModel extends AbstractModel<ProjectDBScheme> impleme
247247
including: payload.including,
248248
excluding: payload.excluding,
249249
};
250-
251-
if(isAutoAdded) {
250+
251+
if (isAutoAdded) {
252252
rule.autoAdded = '$$NOW';
253253
}
254254

0 commit comments

Comments
 (0)