Skip to content

add_courses_session code is wrong for this file  #5504

@etree2024

Description

@etree2024

Describe
REST API V2 does not work for Adding Courses to a Session. The code in the example file is the same as adding users to a session, which is working fine. As you can see in the screen shot the code even here on the project is wrong.

Screenshots
Screenshot 2024-05-13 at 20 09 53

Expected behavior
I expected an error when navigating to the REST API to send back some message after adding a course or courses to using the example file for this

Desktop (please complete the following information):

  • OS: MAC
  • Browser any and all browsers

**Server

  • OS: MAMP
  • Version of Chamilo: 1.11.26
  • Version of PHP: 7.4

Additional context
code is obviously wrong

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions