Formatting
parent
0b621bf7b4
commit
f63b048826
|
|
@ -205,9 +205,8 @@ export class CategorizationApiClient {
|
|||
): Promise<ListView<Category>> {
|
||||
try {
|
||||
const response: ApiResponse = await this.#apiClient.get(
|
||||
`${
|
||||
this.#CATEGORIES_API_PREFIX
|
||||
}/${domain}/${path}?limit=${limit}&offset=${offset}`
|
||||
`${this.#CATEGORIES_API_PREFIX}/${domain}/${path}`,
|
||||
{ limit: limit.toString(), offset: offset.toString() }
|
||||
);
|
||||
|
||||
if (response.ok) {
|
||||
|
|
@ -246,9 +245,11 @@ export class CategorizationApiClient {
|
|||
): Promise<ListView<Category>> {
|
||||
try {
|
||||
const response: ApiResponse = await this.#apiClient.get(
|
||||
`${
|
||||
this.#CATEGORIES_API_PREFIX
|
||||
}/ID-${categoryId}?limit=${limit}&offset=${offset}`
|
||||
`${this.#CATEGORIES_API_PREFIX}/ID-${categoryId}`,
|
||||
{
|
||||
limit: limit.toString(),
|
||||
offset: offset.toString(),
|
||||
}
|
||||
);
|
||||
|
||||
if (response.ok) {
|
||||
|
|
@ -287,9 +288,11 @@ export class CategorizationApiClient {
|
|||
): Promise<ListView<Category>> {
|
||||
try {
|
||||
const response: ApiResponse = await this.#apiClient.get(
|
||||
`${
|
||||
this.#CATEGORIES_API_PREFIX
|
||||
}/UUID-${uuid}?limit=${limit}&offset=${offset}`
|
||||
`${this.#CATEGORIES_API_PREFIX}/UUID-${uuid}`,
|
||||
{
|
||||
limit: limit.toString(),
|
||||
offset: offset.toString(),
|
||||
}
|
||||
);
|
||||
|
||||
if (response.ok) {
|
||||
|
|
@ -409,9 +412,8 @@ export class CategorizationApiClient {
|
|||
): Promise<ListView<Categorization>> {
|
||||
try {
|
||||
const response: ApiResponse = await this.#apiClient.get(
|
||||
`${
|
||||
this.#CATEGORIES_API_PREFIX
|
||||
}/$domain/${path}/@objects?limit=${limit}&offset=${offset}`
|
||||
`${this.#CATEGORIES_API_PREFIX}/$domain/${path}/@objects`,
|
||||
{ limit: limit.toString(), offset: offset.toString() }
|
||||
);
|
||||
|
||||
if (response.ok) {
|
||||
|
|
@ -450,9 +452,11 @@ export class CategorizationApiClient {
|
|||
): Promise<ListView<Categorization>> {
|
||||
try {
|
||||
const response: ApiResponse = await this.#apiClient.get(
|
||||
`${
|
||||
this.#CATEGORIES_API_PREFIX
|
||||
}/ID-${categoryId}/@objects?limit=${limit}&offset=${offset}`
|
||||
`${this.#CATEGORIES_API_PREFIX}/ID-${categoryId}/@objects`,
|
||||
{
|
||||
limit: limit.toString(),
|
||||
offset: offset.toString(),
|
||||
}
|
||||
);
|
||||
|
||||
if (response.ok) {
|
||||
|
|
@ -493,7 +497,11 @@ export class CategorizationApiClient {
|
|||
const response: ApiResponse = await this.#apiClient.get(
|
||||
`${
|
||||
this.#CATEGORIES_API_PREFIX
|
||||
}/UUID-${uuid}/@objects?limit=${limit}&offset=${offset}`
|
||||
}/UUID-${uuid}/@objects`,
|
||||
{
|
||||
limit: limit.toString(),
|
||||
offset: offset.toString()
|
||||
}
|
||||
);
|
||||
|
||||
if (response.ok) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue