We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dfc29b commit ed72264Copy full SHA for ed72264
src/StreamFeedsClient.ts
@@ -1,5 +1,5 @@
1
import { FeedsApi } from './gen/feeds/FeedsApi';
2
-import { QueryFeedsRequest } from './gen/models';
+import { AddReactionRequest, QueryFeedsRequest } from './gen/models';
3
import { StreamFeed } from './StreamFeed';
4
5
export class StreamFeedsClient extends FeedsApi {
@@ -14,5 +14,7 @@ export class StreamFeedsClient extends FeedsApi {
14
/**
15
* @deprecated Use addActivityReaction instead
16
*/
17
- addReaction = this.addActivityReaction;
+ addReaction = (request: AddReactionRequest & { activity_id: string }) => {
18
+ return super.addActivityReaction(request);
19
+ };
20
}
0 commit comments