Skip to content

Commit ea230e4

Browse files
committed
fix
1 parent e74e512 commit ea230e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Server/util/util.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2391,7 +2391,7 @@ function getNowFormatDate(fmt,date) {
23912391
}
23922392

23932393
var createStatistic=async (function() {
2394-
let interface=require("../model/interfaceModel");
2394+
let inter=require("../model/interfaceModel");
23952395
let project=require("../model/projectModel");
23962396
let team=require("../model/teamModel");
23972397
let user=require("../model/userModel");
@@ -2405,7 +2405,7 @@ var createStatistic=async (function() {
24052405
let obj={
24062406
date:getNowFormatDate("yyyy-MM-dd",date)
24072407
}
2408-
obj.interface=await (interface.countAsync({
2408+
obj.interface=await (inter.countAsync({
24092409
createdAt:{
24102410
$gte:date
24112411
}

0 commit comments

Comments
 (0)