Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
YellaCRE committed Feb 14, 2024
2 parents aee959f + 7d1b014 commit b8fa3d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/mindmap/mindmap.controller.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Controller, Get, Param, UseGuards } from '@nestjs/common';
import { Controller, Get, UseGuards } from '@nestjs/common';
import { MindmapService } from './mindmap.service';
import { JwtAuthGuard } from '../auth/guards/jwtAuth.guard';
import { User } from '../users/utils/user.decorator';
Expand Down
3 changes: 1 addition & 2 deletions src/mindmap/mindmap.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,7 @@ export class MindmapService {
id: edge,
source: temp[0],
target: temp[1],
cnt:
String(Math.round((edgeKeywords[edge] / TOTALHISTORY) * 100)) + '%',
cnt: Math.round((edgeKeywords[edge] / TOTALHISTORY) * 100),
},
});
}
Expand Down

0 comments on commit b8fa3d7

Please sign in to comment.