Skip to content

Commit

Permalink
Remove one use of ! in savePublic
Browse files Browse the repository at this point in the history
  • Loading branch information
livid committed Nov 6, 2023
1 parent c76c26b commit 9a8825a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Planet/Entities/MyArticleModel+SavePublic.swift
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ extension MyArticleModel {
image: "https://ipfs.io/ipfs/\(imageCID)",
external_url: (self.externalLink ?? self.browserURL?.absoluteString) ?? "",
mimeType: self.getAttachmentMimeType(name: firstKey),
animation_url: animationCID != nil ? "https://ipfs.io/ipfs/\(animationCID!)" : nil,
animation_url: "https://ipfs.io/ipfs/\(animationCID)" ?? nil,
attributes: attributes
)
let nftData = try JSONEncoder.shared.encode(nft)
Expand Down
2 changes: 1 addition & 1 deletion Planet/versioning.xcconfig
Original file line number Diff line number Diff line change
@@ -1 +1 @@
CURRENT_PROJECT_VERSION = 1764
CURRENT_PROJECT_VERSION = 1765

0 comments on commit 9a8825a

Please sign in to comment.