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

This commit is contained in:
Matias De lellis committed 2020-06-16 22:56:34 -03:00
1 parent 8c6b0a2392
commit dd534e1f1b
10 files changed
+279 -19

No files matched your search

+1 -1
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));