MCPcopy Create free account
hub / github.com/chatwoot/chatwoot /

Class

app/javascript/dashboard/api/ApiClient.js:5–5  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3const DEFAULT_API_VERSION = 'v1';
4
5class ApiClient {
6 constructor(resource, options = {}) {
7 this.apiVersion = `/api/${options.apiVersion || DEFAULT_API_VERSION}`;
8 this.options = options;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected