Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Posts - PATCH - special handling for nested links #327

Closed
rtrembecky opened this issue Dec 9, 2023 · 2 comments
Closed

Posts - PATCH - special handling for nested links #327

rtrembecky opened this issue Dec 9, 2023 · 2 comments
Assignees
Milestone

Comments

@rtrembecky
Copy link
Contributor

v PATCHi posleme array links, ktory moze vyzerat:

[
  {
    "id": 0,
    "caption": "Prihlásenie",
    "url": "https://seminar.strom.sk/sk/prispevky/"
  },
  {
    "caption": "xxx",
    "url": "htttp://asdfsad"
  }
]

treba:

  • zmazat linky s id, ktore chybaju oproti originalnemu stavu objektu
  • updatnut zvysne linky s id
  • vytvorit linky bez id
@rtrembecky rtrembecky added this to the 1.1 milestone Dec 9, 2023
@kovacspe kovacspe self-assigned this Dec 9, 2023
@kovacspe
Copy link
Collaborator

@rtrembecky vyzera ze to uz tak funguje

@rtrembecky
Copy link
Contributor Author

rtrembecky commented Dec 10, 2023

yop. len trebalo odstranit id z request body. PR: ZdruzenieSTROM/webstrom-frontend#314

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants