Skip to content

Commit

Permalink
vanilla auth
Browse files Browse the repository at this point in the history
  • Loading branch information
giuliohome committed Oct 9, 2023
1 parent fb38bf8 commit d1d1afe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/api/ListsController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ public ListsController(ListsRepository repository)

// [HttpGet("private-scoped")]
// [Authorize("read:lists")]
[HttpGet("private")]
[HttpGet]
[Authorize]
[ProducesResponseType(200)]
public async Task<ActionResult<IEnumerable<TodoList>>> GetLists([FromQuery] int? skip = null, [FromQuery] int? batchSize = null)
{
Expand Down

0 comments on commit d1d1afe

Please sign in to comment.