ambigous documentation on aws iot topic subscriptions

hello, just want to notify you about this part of documentation, https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/libraries/networking/aws_iot.html#subscribing-to-non-aws-specific-topics

The code snippet is not according to the description above. The description states that you should subscribe first, then init, but in the code you subscribe after init. 

kind regards

Related