Handle promise linting (#5488)
This commit is contained in:
@@ -64,7 +64,7 @@ class View extends IdModel {
|
||||
|
||||
if (!created) {
|
||||
model.count += 1;
|
||||
model.save(options);
|
||||
await model.save(options);
|
||||
}
|
||||
|
||||
return model;
|
||||
|
||||
Reference in New Issue
Block a user