Skip to content

Commit

Permalink
empty list
Browse files Browse the repository at this point in the history
  • Loading branch information
giuliohome authored Oct 9, 2023
1 parent 5ffe239 commit c5c17df
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/api/ListsController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ public async Task<ActionResult> CreateList([FromBody]CreateUpdateTodoList list)
[ProducesResponseType(404)]
public async Task<ActionResult<IEnumerable<TodoList>>> GetList(Guid list_id)
{
TodoItem[] fakeItem = new TodoItem[1] { new TodoItem(list_id, "Private-Scoped") };
fakeItem[0].Description = "Auth0 works! ;-)";
TodoItem[] fakeItem = new TodoItem[0];
await System.Threading.Tasks.Task.Delay(200);
return Ok(fakeItem);

Expand Down

0 comments on commit c5c17df

Please sign in to comment.