This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Parse categories coming from the back-end as a json array
The category ids that come from php are in json array format (e.g. '[40,41]'), so it's necessary to parse them and convert them into a js array before processing them. Otherwise the api request will fail.
- Loading branch information