This fix resolves two issues in the createNote function:
1. Use plural form for resource types (issues, merge_requests) in the URL path
2. Remove duplicate /api/v4 in URL construction, which caused 404 errors
These changes align with the GitLab API documentation and fix 404 errors when adding notes to issues or merge requests.