Update api.php

                $comm->comm_context = !empty($data['comm_context']) ? $data['comm_context'] : \Nos\Nos::main_controller()->getContext();
Merge pull request #1 from ounziw/patch-1

Update api.php, comm_context can be passed by parameter