Skip to content

Commit 92113fc

Browse files
fix[frontend](collector): fixed collection groups endpoint name
1 parent c4754d0 commit 92113fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/src/app/app-module/shared/services/utm-module-collector.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,12 @@ export class UtmModuleCollectorService {
8080
}
8181

8282
updateGroup(asset: { assetGroupId: number, assetsIds: number[] }): Observable<HttpResponse<any>> {
83-
return this.http.put<any>(this.resourceUrl + '/assets-group', asset, {observe: 'response'});
83+
return this.http.put<any>(this.resourceUrl + '/asset-group', asset, {observe: 'response'});
8484
}
8585

8686
queryGroups(req?: any): Observable<HttpResponse<AssetGroupType[]>> {
8787
const options = createRequestOption(req);
88-
return this.http.get<AssetGroupType[]>(this.resourceUrl + '/assets-group', {params: options, observe: 'response'});
88+
return this.http.get<AssetGroupType[]>(this.resourceUrl + '/asset-groups', {params: options, observe: 'response'});
8989
}
9090

9191
generateUniqueName(collectorName: string, groups: UtmModuleGroupType[]): string {

0 commit comments

Comments
 (0)