From 9a8825aba026144d38eb25adae2c25b7404a0721 Mon Sep 17 00:00:00 2001 From: Livid Date: Sun, 5 Nov 2023 19:17:53 -0800 Subject: [PATCH] Remove one use of ! in savePublic --- Planet/Entities/MyArticleModel+SavePublic.swift | 2 +- Planet/versioning.xcconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Planet/Entities/MyArticleModel+SavePublic.swift b/Planet/Entities/MyArticleModel+SavePublic.swift index 951388c4..3807187f 100644 --- a/Planet/Entities/MyArticleModel+SavePublic.swift +++ b/Planet/Entities/MyArticleModel+SavePublic.swift @@ -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) diff --git a/Planet/versioning.xcconfig b/Planet/versioning.xcconfig index 551cf9b2..15f410af 100644 --- a/Planet/versioning.xcconfig +++ b/Planet/versioning.xcconfig @@ -1 +1 @@ -CURRENT_PROJECT_VERSION = 1764 +CURRENT_PROJECT_VERSION = 1765