()
| 281 | }; |
| 282 | |
| 283 | const submitWeChat = async () => { |
| 284 | const options = []; |
| 285 | |
| 286 | if (originInputs['WeChatServerAddress'] !== inputs.WeChatServerAddress) { |
| 287 | options.push({ |
| 288 | key: 'WeChatServerAddress', |
| 289 | value: removeTrailingSlash(inputs.WeChatServerAddress), |
| 290 | }); |
| 291 | } |
| 292 | if ( |
| 293 | originInputs['WeChatAccountQRCodeImageURL'] !== |
| 294 | inputs.WeChatAccountQRCodeImageURL |
| 295 | ) { |
| 296 | options.push({ |
| 297 | key: 'WeChatAccountQRCodeImageURL', |
| 298 | value: inputs.WeChatAccountQRCodeImageURL, |
| 299 | }); |
| 300 | } |
| 301 | if ( |
| 302 | originInputs['WeChatServerToken'] !== inputs.WeChatServerToken && |
| 303 | inputs.WeChatServerToken !== '' |
| 304 | ) { |
| 305 | options.push({ |
| 306 | key: 'WeChatServerToken', |
| 307 | value: inputs.WeChatServerToken, |
| 308 | }); |
| 309 | } |
| 310 | |
| 311 | if (options.length > 0) { |
| 312 | await updateOptions(options); |
| 313 | } |
| 314 | }; |
| 315 | |
| 316 | const submitGitHubOAuth = async () => { |
| 317 | const options = []; |
nothing calls this directly
no test coverage detected