diff --git a/Permanent.xcodeproj/project.pbxproj b/Permanent.xcodeproj/project.pbxproj index d14fd9c9..05896b29 100644 --- a/Permanent.xcodeproj/project.pbxproj +++ b/Permanent.xcodeproj/project.pbxproj @@ -5267,7 +5267,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.10.1; + MARKETING_VERSION = 1.10.2; OTHER_SWIFT_FLAGS = "$(inherited) -D COCOAPODS"; PRODUCT_BUNDLE_IDENTIFIER = org.permanent.PermanentArchive; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -5298,7 +5298,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.10.1; + MARKETING_VERSION = 1.10.2; PRODUCT_BUNDLE_IDENTIFIER = org.permanent.PermanentArchive; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -5320,7 +5320,7 @@ "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64; GENERATE_INFOPLIST_FILE = YES; IPHONEOS_DEPLOYMENT_TARGET = 14.7; - MARKETING_VERSION = 1.10.1; + MARKETING_VERSION = 1.10.2; PRODUCT_BUNDLE_IDENTIFIER = org.permanent.PermanentArchive.PermanentUITests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_EMIT_LOC_STRINGS = NO; @@ -5341,7 +5341,7 @@ "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64; GENERATE_INFOPLIST_FILE = YES; IPHONEOS_DEPLOYMENT_TARGET = 14.7; - MARKETING_VERSION = 1.10.1; + MARKETING_VERSION = 1.10.2; PRODUCT_BUNDLE_IDENTIFIER = org.permanent.PermanentArchive.PermanentUITests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_EMIT_LOC_STRINGS = NO; @@ -5362,7 +5362,7 @@ "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64; GENERATE_INFOPLIST_FILE = YES; IPHONEOS_DEPLOYMENT_TARGET = 14.7; - MARKETING_VERSION = 1.10.1; + MARKETING_VERSION = 1.10.2; PRODUCT_BUNDLE_IDENTIFIER = org.permanent.PermanentArchive.PermanentUITests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_EMIT_LOC_STRINGS = NO; @@ -5383,7 +5383,7 @@ "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64; GENERATE_INFOPLIST_FILE = YES; IPHONEOS_DEPLOYMENT_TARGET = 14.7; - MARKETING_VERSION = 1.10.1; + MARKETING_VERSION = 1.10.2; PRODUCT_BUNDLE_IDENTIFIER = org.permanent.PermanentArchive.PermanentUITests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_EMIT_LOC_STRINGS = NO; @@ -5512,7 +5512,7 @@ "@executable_path/Frameworks", "@executable_path/../../Frameworks", ); - MARKETING_VERSION = 1.10.1; + MARKETING_VERSION = 1.10.2; ONLY_ACTIVE_ARCH = NO; PRODUCT_BUNDLE_IDENTIFIER = org.permanent.PermanentArchive.ShareExtension; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -5546,7 +5546,7 @@ "@executable_path/Frameworks", "@executable_path/../../Frameworks", ); - MARKETING_VERSION = 1.10.1; + MARKETING_VERSION = 1.10.2; ONLY_ACTIVE_ARCH = NO; PRODUCT_BUNDLE_IDENTIFIER = org.permanent.permanent.staging.ShareExtension; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -5580,7 +5580,7 @@ "@executable_path/Frameworks", "@executable_path/../../Frameworks", ); - MARKETING_VERSION = 1.10.1; + MARKETING_VERSION = 1.10.2; ONLY_ACTIVE_ARCH = NO; PRODUCT_BUNDLE_IDENTIFIER = org.permanent.PermanentArchive.ShareExtension; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -5614,7 +5614,7 @@ "@executable_path/Frameworks", "@executable_path/../../Frameworks", ); - MARKETING_VERSION = 1.10.1; + MARKETING_VERSION = 1.10.2; ONLY_ACTIVE_ARCH = NO; PRODUCT_BUNDLE_IDENTIFIER = org.permanent.permanent.staging.ShareExtension; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -5705,7 +5705,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.10.1; + MARKETING_VERSION = 1.10.2; OTHER_SWIFT_FLAGS = "-D COCOAPODS -DSTAGING_ENVIRONMENT"; PRODUCT_BUNDLE_IDENTIFIER = org.permanent.permanent.staging; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -5790,7 +5790,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.10.1; + MARKETING_VERSION = 1.10.2; OTHER_SWIFT_FLAGS = "-D COCOAPODS -DSTAGING_ENVIRONMENT"; PRODUCT_BUNDLE_IDENTIFIER = org.permanent.permanent.staging; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -5818,7 +5818,7 @@ "@executable_path/Frameworks", "@executable_path/../../Frameworks", ); - MARKETING_VERSION = 1.10.1; + MARKETING_VERSION = 1.10.2; PRODUCT_BUNDLE_IDENTIFIER = org.permanent.PermanentArchive.PushExtension; PRODUCT_NAME = "$(TARGET_NAME)"; SKIP_INSTALL = YES; @@ -5843,7 +5843,7 @@ "@executable_path/Frameworks", "@executable_path/../../Frameworks", ); - MARKETING_VERSION = 1.10.1; + MARKETING_VERSION = 1.10.2; PRODUCT_BUNDLE_IDENTIFIER = org.permanent.permanent.staging.PushExtension; PRODUCT_NAME = "$(TARGET_NAME)"; SKIP_INSTALL = YES; @@ -5868,7 +5868,7 @@ "@executable_path/Frameworks", "@executable_path/../../Frameworks", ); - MARKETING_VERSION = 1.10.1; + MARKETING_VERSION = 1.10.2; PRODUCT_BUNDLE_IDENTIFIER = org.permanent.PermanentArchive.PushExtension; PRODUCT_NAME = "$(TARGET_NAME)"; SKIP_INSTALL = YES; @@ -5893,7 +5893,7 @@ "@executable_path/Frameworks", "@executable_path/../../Frameworks", ); - MARKETING_VERSION = 1.10.1; + MARKETING_VERSION = 1.10.2; PRODUCT_BUNDLE_IDENTIFIER = org.permanent.permanent.staging.PushExtension; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; diff --git a/Permanent/Common/Network/ArchivesEndpoint.swift b/Permanent/Common/Network/ArchivesEndpoint.swift index 6e83fea7..1b569b2a 100644 --- a/Permanent/Common/Network/ArchivesEndpoint.swift +++ b/Permanent/Common/Network/ArchivesEndpoint.swift @@ -250,7 +250,8 @@ extension ArchivesEndpoint { "ArchiveVO": [ "archiveId": archiveVO.archiveID!, "archiveNbr": archiveVO.archiveNbr!, - "thumbArchiveNbr": file.archiveNo + "thumbArchiveNbr": file.archiveNo, + "type": archiveVO.type ?? "" ] ] ]