Fix top_ancestor of root categories
The root categories are created with "blank" as ancestry, not with nil. And should return itself when calling "top_ancestor".
As of 2024-05-14 a change has been implemented to enforce access token expiry. If you see higher numbers of HTTP 401 responses, please check tokens that may have expired. For more details, including how to mitigate disruption, please check our docs guide on Expired Access Tokens. If you have a support contract, you may open a support ticket for additional assistance.
The root categories are created with "blank" as ancestry, not with nil. And should return itself when calling "top_ancestor".