Updating the topic via json/api requires setting category too


(Carlo Kok) #1

When trying to update the topic of a post via the json api the “category” field has to be set, else it gets reset to none. Is there any way around this? Else how do I translate a category_id back to a category (via the json
api)?


(Ben T) #2

You could load the categories.json and parse the IDs from there.


(Carlo Kok) #3

thanks, that did it.


(Régis Hanol) #4