Skip to content

Commit

Permalink
Merge pull request #432 from maatcommunity/fix/parsing-optional-respo…
Browse files Browse the repository at this point in the history
…nse-fields

Changed state and email fields to optional to match Apple's responses
  • Loading branch information
tp authored Aug 27, 2024
2 parents adbfcf5 + e7280fa commit d335c67
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,11 @@ extension type AuthorizationI._(JSObject _) implements JSObject {
external String get code;
@JS('id_token')
external String get idToken;
external String get state;
external String? get state;
}

extension type UserI._(JSObject _) implements JSObject {
external String get email;
external String? get email;
external NameI? get name;
}

Expand Down

0 comments on commit d335c67

Please sign in to comment.