Skip to content

Commit

Permalink
fix: change slack file upload method to uploadV2
Browse files Browse the repository at this point in the history
Co-authored-by: noa.santo <[email protected]>
  • Loading branch information
virus-rpi and noa.santo authored Oct 17, 2024
1 parent 8c90534 commit be68f3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/career-form.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export default async function handler(
});

for (const file of files) {
await client.files.upload({
await client.files.uploadV2({
channels: CHANNEL_ID,
thread_ts: postMessageResult.ts,
file: file.buffer,
Expand Down

0 comments on commit be68f3b

Please sign in to comment.