Ignore:
Timestamp:
08/24/26 20:57:09 (13 days ago)
Author:
kikisrbinoska <srbinoskakristina07@…>
Branches:
main
Parents:
a6e33d1
Message:

Added corrected entitef from the ER diagram and changes for the logic to be coresponding to the ddl

Location:
ChapterX.API/Controllers
Files:
5 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • ChapterX.API/Controllers/AISuggestionsController.cs

    ra6e33d1 re882b92  
    5555                appliedAt = s.AppliedAt,
    5656                storyId = s.StoryId,
    57                 suggestionTypes = s.SuggestionTypes.Select(t => t.SuggestionTypeValue),
     57                suggestionType = s.SuggestionType,
    5858            });
    5959            return Ok(result);
  • ChapterX.API/Controllers/NotificationsController.cs

    ra6e33d1 re882b92  
    3535                isRead = n.IsRead,
    3636                createdAt = n.CreatedAt,
    37                 type = n.Type ?? "info",
     37                contentType = n.ContentType,
     38                storyId = n.StoryId,
    3839                link = n.Link,
    3940            });
  • ChapterX.API/Controllers/StoriesController.cs

    ra6e33d1 re882b92  
    3737                image = s.Image,
    3838                content = s.Content,
     39                status = s.Status,
    3940                matureContent = s.MatureContent,
    4041                createdAt = s.CreatedAt,
     
    6667                image = s.Image,
    6768                content = s.Content,
     69                status = s.Status,
    6870                matureContent = s.MatureContent,
    6971                createdAt = s.CreatedAt,
Note: See TracChangeset for help on using the changeset viewer.