Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
crowlKats committed Feb 26, 2024
1 parent be3a696 commit e78cd6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ router.get("/legacy_modules/:id", async (ctx) => {
datastore.key([kinds.LEGACY_MODULES, ctx.params.id]),
);
if (res.found && res.found.length === 1) {
return entityToObject<ApiModuleData>(res.found![0].entity);
return entityToObject<ApiModuleData>(res.found[0].entity);
}
});

Expand Down

0 comments on commit e78cd6d

Please sign in to comment.