Skip to content

Commit

Permalink
Parse serverMediaID to string instead of using interpolation
Browse files Browse the repository at this point in the history
  • Loading branch information
fluiddot committed May 21, 2024
1 parent d60c1d1 commit 7694cb2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class GutenbergGalleryUploadProcessor: GutenbergProcessor {

_ = try? imgTag.attr("src", self.remoteURLString)
_ = try? imgTag.attr("class", newImgClassAttributes)
_ = try? imgTag.attr(ImageKeys.dataID, "\(self.serverMediaID)")
_ = try? imgTag.attr(ImageKeys.dataID, String(self.serverMediaID))
_ = try? imgTag.attr(ImageKeys.dataFullURL, self.remoteURLString)

if let _ = try? imgTag.attr(ImageKeys.dataLink) {
Expand Down

0 comments on commit 7694cb2

Please sign in to comment.