From 06f4bebcdeb5937ff89e0a8b4dad5219d437d014 Mon Sep 17 00:00:00 2001 From: Daniel Morgenstern Date: Thu, 6 Sep 2018 09:26:56 +0200 Subject: [PATCH] Add todo --- types/Package.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/Package.ts b/types/Package.ts index 8063735..5e65371 100644 --- a/types/Package.ts +++ b/types/Package.ts @@ -135,7 +135,7 @@ export default class Package extends Searchable implements PackageMetaDataDTO { return this.craftersList; } if (this.author) { - this.craftersList.push(new Crafter(this.author)); + this.craftersList.push(new Crafter(this.author)); // TODO: avoid duplicate crafters } if (this.contributors) { for (const contributor of this.contributors) {