Skip to content

Commit

Permalink
Fix encode of UploadResult fix #3
Browse files Browse the repository at this point in the history
  • Loading branch information
e-marchand committed Nov 28, 2023
1 parent 032b379 commit 3f835a2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Sources/Model/Data/UploadResult.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ import Foundation
// http://doc.wakanda.org/home2.en.html?&_ga=1.241951170.1945468140.1488380770#/HTTP-REST/Interacting-with-the-Server/upload.303-1158401.en.html
// ex: { "ID": "D507BC03E613487E9B4C2F6A0512FE50" }

public struct UploadResult {
public struct UploadResult: VeryCodable {
public let id: String
public static var codableClassStoreKey: String { return "UploadResult" }
}

extension UploadResult: Codable {}
Expand Down

0 comments on commit 3f835a2

Please sign in to comment.