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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapterx-frontend/src/components/story/LikeButton.tsx

    ra6e33d1 re882b92  
    5959        if (currentUser.user_id !== authorUserId) {
    6060          await addNotification({
    61             recipientUserId: authorUserId,
    62             type: 'like',
     61            userId: authorUserId,
     62            contentType: 'like',
    6363            content: `${currentUser.username} liked your story.`,
     64            storyId,
    6465            link: `/story/${storyId}`,
    6566          })
Note: See TracChangeset for help on using the changeset viewer.