We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4bcc7e1 commit a00fc1fCopy full SHA for a00fc1f
README.md
@@ -35,22 +35,10 @@ Out of the box easy to use, full DI support and fast.
35
}
36
37
[HttpGet("{id:guid}")]
38
- public IActionResult Get(Guid id, int level = 0)
+ public IActionResult Get(Guid id)
39
{
40
var content = _publishedContent.Content(id);
41
- var dictionary = new Dictionary<string, object>
42
- {
43
- {"addUrl", true}
44
- };
45
-
46
- if (level <= 0)
47
48
- return Ok(_contentResolver.Value.ResolveContent(content, dictionary));
49
- }
50
51
- dictionary.Add("level", level);
52
53
+ return Ok(_contentResolver.Value.ResolveContent(content));
54
55
56
```
0 commit comments