Skip to content

Commit 7a93550

Browse files
markgravitysuho
authored andcommitted
[#8] Change source to optional
1 parent 7aba8ef commit 7a93550

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/JSONAPIMapper/Models/JSONAPIError.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public struct JSONAPIError: Error, Decodable, Equatable {
2929
id: String? = nil,
3030
title: String? = nil,
3131
detail: String? = nil,
32-
source: Source,
32+
source: Source? = nil,
3333
status: String? = nil,
3434
code: String? = nil
3535
) {

0 commit comments

Comments
 (0)