Skip to content

Commit c502b30

Browse files
committed
fix(google-drive): remove dead transformResponse from move tool
1 parent a4af7a5 commit c502b30

File tree

3 files changed

+7
-22
lines changed

3 files changed

+7
-22
lines changed

apps/docs/components/ui/icon-mapping.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ import {
3838
EyeIcon,
3939
FirecrawlIcon,
4040
FirefliesIcon,
41-
GitLabIcon,
4241
GithubIcon,
42+
GitLabIcon,
4343
GmailIcon,
4444
GongIcon,
4545
GoogleBooksIcon,
@@ -72,9 +72,9 @@ import {
7272
LinearIcon,
7373
LinkedInIcon,
7474
LinkupIcon,
75-
MailServerIcon,
7675
MailchimpIcon,
7776
MailgunIcon,
77+
MailServerIcon,
7878
Mem0Icon,
7979
MicrosoftDataverseIcon,
8080
MicrosoftExcelIcon,
@@ -107,8 +107,6 @@ import {
107107
ResendIcon,
108108
RevenueCatIcon,
109109
S3Icon,
110-
SQSIcon,
111-
STTIcon,
112110
SalesforceIcon,
113111
SearchIcon,
114112
SendgridIcon,
@@ -120,17 +118,19 @@ import {
120118
SimilarwebIcon,
121119
SlackIcon,
122120
SmtpIcon,
121+
SQSIcon,
123122
SshIcon,
123+
STTIcon,
124124
StagehandIcon,
125125
StripeIcon,
126126
SupabaseIcon,
127-
TTSIcon,
128127
TavilyIcon,
129128
TelegramIcon,
130129
TextractIcon,
131130
TinybirdIcon,
132131
TranslateIcon,
133132
TrelloIcon,
133+
TTSIcon,
134134
TwilioIcon,
135135
TypeformIcon,
136136
UpstashIcon,
@@ -141,11 +141,11 @@ import {
141141
WhatsAppIcon,
142142
WikipediaIcon,
143143
WordpressIcon,
144+
xIcon,
144145
YouTubeIcon,
145146
ZendeskIcon,
146147
ZepIcon,
147148
ZoomIcon,
148-
xIcon,
149149
} from '@/components/icons'
150150

151151
type IconComponent = ComponentType<SVGProps<SVGSVGElement>>

apps/docs/content/docs/en/tools/meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,4 +146,4 @@
146146
"zep",
147147
"zoom"
148148
]
149-
}
149+
}

apps/sim/tools/google_drive/move.ts

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -124,21 +124,6 @@ export const moveTool: ToolConfig<GoogleDriveMoveParams, GoogleDriveMoveResponse
124124
}
125125
},
126126

127-
transformResponse: async (response: Response) => {
128-
const data = await response.json()
129-
130-
if (!response.ok) {
131-
throw new Error(data.error?.message || 'Failed to move Google Drive file')
132-
}
133-
134-
return {
135-
success: true,
136-
output: {
137-
file: data,
138-
},
139-
}
140-
},
141-
142127
outputs: {
143128
file: {
144129
type: 'json',

0 commit comments

Comments
 (0)