Skip to content

Commit

Permalink
updated let to const
Browse files Browse the repository at this point in the history
  • Loading branch information
Ellenn-A committed Aug 23, 2023
1 parent f4017ae commit a8a2624
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ipfs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default class Ipfs {
//needs to pass on form data
public async uploadFile(file: Buffer): Promise<string> {
const form = new FormData()
let blob = new Blob([file])
const blob = new Blob([file])
form.append('file', blob, 'file')
const response = await this.makeIpfsRequest('/api/v0/add', { 'cid-version': '1' }, form)
const responseJson = await response.json()
Expand Down

0 comments on commit a8a2624

Please sign in to comment.