Skip to content

Commit

Permalink
chore: change ci secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
guoxianzhe committed Nov 24, 2023
1 parent 81afe67 commit adfb62f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
- name: Modify APP ID
run: |
sed "s/localAppId = '\(.*\)'/localAppId = '${{ secrets.APP_ID }}'/g" agora.config.ts > tmp
sed "s/localAppId = '\(.*\)'/localAppId = '${{ secrets.APP_ID_RTM }}'/g" agora.config.ts > tmp
mv tmp agora.config.ts
working-directory: example/src/config

Expand Down Expand Up @@ -137,7 +137,7 @@ jobs:
- name: Modify APP ID
run: |
sed "s/localAppId = '\(.*\)'/localAppId = '${{ secrets.APP_ID }}'/g" agora.config.ts > tmp
sed "s/localAppId = '\(.*\)'/localAppId = '${{ secrets.APP_ID_RTM }}'/g" agora.config.ts > tmp
mv tmp agora.config.ts
working-directory: example/src/config

Expand Down
1 change: 1 addition & 0 deletions scripts/terra/config/impl_special_return_list.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,6 @@
"agora::rtm::IStreamChannel.joinTopic": "requestId",
"agora::rtm::IStreamChannel.leaveTopic": "requestId",
"agora::rtm::IRtmClient.publish": "requestId",
"agora::rtm::ext::IRtmClient.publishWithBuffer": "requestId",
"agora::rtm::IRtmClient.subscribe": "requestId"
}
2 changes: 1 addition & 1 deletion src/impl/IAgoraRtmClientImpl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ export class IRtmClientImpl implements IRtmClient {
},
};
const jsonResults = callIrisApi.call(this, apiType, jsonParams);
return jsonResults.result;
return jsonResults.requestId;
}

protected getApiTypeFromPublishWithBuffer(): string {
Expand Down

0 comments on commit adfb62f

Please sign in to comment.