Skip to content

chore(no-release): Helper Functions for Code Refactoring

This code adds three helper functions to simplify making HTTP requests to GitLab's API. The functions handle the most common response patterns: one for requests that return a single object (like getting user details), one for requests that return a list of items (like getting all projects), and one for requests that don't return any data (like deleting something). These utilities reduce code duplication by centralizing the common steps of creating a request, sending it, and handling the response, making the codebase cleaner and easier to maintain.

#2166

Edited by Yashesvinee V

Merge request reports

Loading