Skip to content

Commit

Permalink
Changed misleading parameter name
Browse files Browse the repository at this point in the history
  • Loading branch information
zuzanna-maria committed Oct 17, 2024
1 parent 1eb50ee commit 7471916
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -304,10 +304,10 @@ async function getShares(path, inherited) {

/**
*
* @param { string } shareLink the share link to the image
* @param { string } imageUrl the link to the image
*/
async function getImage(shareLink) {
const myRequest = new Request(shareLink)
async function getImage(imageUrl) {
const myRequest = new Request(imageUrl)
/* eslint-disable no-unused-vars */
const response = await fetch(myRequest)
const blob = await response.blob()
Expand Down

0 comments on commit 7471916

Please sign in to comment.