File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments