Fix typo
authorMichal Klobukowski <michal.klobukowski@contractors.roche.com>
Fri, 6 Jul 2018 14:34:44 +0000 (16:34 +0200)
committerMichal Klobukowski <michal.klobukowski@contractors.roche.com>
Fri, 6 Jul 2018 14:34:44 +0000 (16:34 +0200)
Feature #13747

Arvados-DCO-1.1-Signed-off-by: Michal Klobukowski <michal.klobukowski@contractors.roche.com>

src/services/groups-service/groups-service.ts
src/services/project-service/project-service.ts

index 1e6dff8e82b786ac31e765a436503fcb56bd6356..2a5a51a851b8e48a0741e085164dbaff9f6c7e8c 100644 (file)
@@ -12,7 +12,7 @@ import { CollectionResource } from "../../models/collection";
 import { ProjectResource } from "../../models/project";
 import { ProcessResource } from "../../models/process";
 
-export interface ContensArguments {
+export interface ContentsArguments {
     limit?: number;
     offset?: number;
     order?: OrderBuilder;
@@ -31,7 +31,7 @@ export default class GroupsService<T extends GroupResource = GroupResource> exte
         super(serverApi, "groups");
     }
 
-    contents(uuid: string, args: ContensArguments = {}): Promise<ListResults<GroupContentsResource>> {
+    contents(uuid: string, args: ContentsArguments = {}): Promise<ListResults<GroupContentsResource>> {
         const { filters, order, ...other } = args;
         const params = {
             ...other,
index 5fac2b286a06b8d4a8aba048ee26b0b4c9c83a00..9ce9e2131446f8ba28c7e3ecb8814f36ca28e1f1 100644 (file)
@@ -2,7 +2,7 @@
 //
 // SPDX-License-Identifier: AGPL-3.0
 
-import GroupsService, { ContensArguments } from "../groups-service/groups-service";
+import GroupsService, { ContentsArguments } from "../groups-service/groups-service";
 import { ProjectResource } from "../../models/project";
 import { GroupClass } from "../../models/group";
 import { ListArguments } from "../../common/api/common-resource-service";