style(line): shorten long line for golines linter

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
ex-takashima
2026-05-07 16:48:45 +09:00
parent ad78ba06ea
commit 41d6156dce
+3 -2
View File
@@ -583,10 +583,11 @@ func classifySDKError(resp *http.Response, err error) error {
// sendLoading sends a loading animation indicator to the chat.
func (c *LINEChannel) sendLoading(ctx context.Context, chatID string) error {
resp, _, err := c.client.WithContext(ctx).ShowLoadingAnimationWithHttpInfo(&messaging_api.ShowLoadingAnimationRequest{
req := &messaging_api.ShowLoadingAnimationRequest{
ChatId: chatID,
LoadingSeconds: 60,
})
}
resp, _, err := c.client.WithContext(ctx).ShowLoadingAnimationWithHttpInfo(req)
return classifySDKError(resp, err)
}