Skip to content

Commit 257fa73

Browse files
fix(main): minor merge fixes (#149)
1 parent 46327a0 commit 257fa73

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

src/app/features/collections/services/collections.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ export class CollectionsService {
169169
],
170170
};
171171

172-
return this.#jsonApiService.post<void>(url, payload);
172+
return this.jsonApiService.post<void>(url, payload);
173173
}
174174

175175
removeRegistrationFromBookmarks(bookmarksId: string, registryId: string): Observable<void> {
@@ -183,6 +183,6 @@ export class CollectionsService {
183183
],
184184
};
185185

186-
return this.#jsonApiService.delete(url, payload);
186+
return this.jsonApiService.delete(url, payload);
187187
}
188188
}

src/app/features/my-projects/services/my-projects.service.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { inject, Injectable } from '@angular/core';
55

66
import { JsonApiResponse } from '@core/models';
77
import { JsonApiService } from '@osf/core/services';
8+
import { SparseCollectionsResponseJsonApi } from '@osf/features/collections/models';
89
import { ResourceType, SortOrder } from '@osf/shared/enums';
910
import { NodeResponseModel, UpdateNodeRequestModel } from '@shared/models';
1011

src/app/features/my-projects/store/my-projects.state.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ export class MyProjectsState {
151151
totalBookmarks: res.links.meta.total,
152152
});
153153
}),
154-
catchError((error) => this.handleError(ctx, ['bookmarks', 'totalBookmarks'], error))
154+
catchError((error) => this.handleError(ctx, 'bookmarks', error))
155155
);
156156
} else {
157157
return forkJoin({

0 commit comments

Comments
 (0)