Removed todo comments.

This commit is contained in:
James Cole
2016-02-12 04:59:14 +01:00
parent a790838222
commit 2e15f1e2a3
9 changed files with 16 additions and 15 deletions

View File

@@ -22,7 +22,7 @@ class CategoryName extends BasicConverter implements ConverterInterface
if (isset($this->mapped[$this->index][$this->value])) {
$category = Auth::user()->categories()->find($this->mapped[$this->index][$this->value]);
} else {
$category = Category::firstOrCreateEncrypted( // TODO use repository
$category = Category::firstOrCreateEncrypted( // See issue #180
[
'name' => $this->value,
'user_id' => Auth::user()->id,