def _prepare_assign_data()

in bugbounty_gpt/handlers/submission_handler.py [0:0]


    def _prepare_assign_data(self, user_id):
        """
        Prepares data to assign a user to the submission.

        :param user_id: ID of the user to be assigned.
        :return: Dictionary containing the required data.
        """
        return {
            'data': {
                'type': 'submission',
                'relationships': {
                    'assignee': {
                        'data': {
                            'id': user_id,
                            'type': 'identity'
                        }
                    }
                }
            }
        }