Skip to content

Commit

Permalink
Merge pull request #80 from zkLinkProtocol/feat-projecPointsList
Browse files Browse the repository at this point in the history
added shoebill.
  • Loading branch information
zkcarter authored Jul 8, 2024
2 parents f738932 + b8421f9 commit 27d1b76
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions src/common/service/project.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,11 @@ export class ProjectService {
if (!category) {
projectNames.push(...projectCategoryConfig.map((x) => x.project));
} else {
projectCategoryConfig
.filter((x) => x.category === category)
.map((x) => x.project);
projectNames.push(
...projectCategoryConfig
.filter((x) => x.category === category)
.map((x) => x.project),
);
}
const projects =
await this.projectRepository.getListByProjects(projectNames);
Expand Down
2 changes: 1 addition & 1 deletion src/config/projectCategory.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const categoryBaseConfig = [
},
{
name: "lending",
items: ["layerbank", "aqua"],
items: ["layerbank", "aqua", "shoebill"],
},
// {
// name: "gamefi",
Expand Down

0 comments on commit 27d1b76

Please sign in to comment.