Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 66ab1fa8

Přidáno uživatelem Vojtěch Bartička před asi 2 roky(ů)

Added SentimentEnabled to GET /tags

Zobrazit rozdíly:

Backend/Backend/Controllers/TagController.cs
30 30
    [Authorize]
31 31
    [ProducesResponseType((int)HttpStatusCode.OK, Type = typeof(TagTreeResponse))]
32 32
    [ProducesResponseType((int)HttpStatusCode.Forbidden)]
33
    public ActionResult<DocumentListResponse> GetTagTree([FromServices] ClientInfo clientInfo)
33
    public ActionResult<TagTreeResponse> GetTagTree([FromServices] ClientInfo clientInfo)
34 34
    {
35 35
        if (clientInfo.LoggedUser == null)
36 36
        {
Backend/Models/Tags/TagInfo.cs
7 7
        public string Description { get; set; }
8 8
        public string Color { get; set; }
9 9
        public List<SubTagInfo> SubTags { get; set; }
10
        public bool SentimentEnabled { get; set; }
10 11
    }
11 12
}

Také k dispozici: Unified diff