Initial settings that allow to choose the default color of the notes.

This commit is contained in:
Matias De lellis
2020-06-16 22:56:34 -03:00
parent 8c6b0a2392
commit dd534e1f1b
10 changed files with 279 additions and 19 deletions

View File

@@ -91,7 +91,7 @@ class NoteController extends Controller {
* @param string $content
* @param string $color
*/
public function create($title, $content, $color = "#F7EB96") {
public function create($title, $content, $color = NULL) {
$note = $this->noteService->create($this->userId, $title, $content, $color);
$etag = md5(json_encode($note));