Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
ueman committed Sep 21, 2024
1 parent d23e74a commit 588811e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
5 changes: 0 additions & 5 deletions passkit_server/lib/src/passkit_backend.dart
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,6 @@ class UpdatablePassResponse {
}
}

class DevPassKitBackend extends PassKitBackend {
@override
void noSuchMethod(Invocation invocation) {}
}

enum NotificationRegistrationReponse {
created,
existing,
Expand Down
3 changes: 1 addition & 2 deletions passkit_server/lib/src/passkit_server.dart
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ Function logMessages(PassKitBackend backend) {
// There's no need to wait for the log message to be written, instead return
// a 200 status code response right away
unawaited(
DevPassKitBackend()
.logMessage(jsonDecode(content) as Map<String, dynamic>),
backend.logMessage(jsonDecode(content) as Map<String, dynamic>),
);
return Response.ok(null);
};
Expand Down

0 comments on commit 588811e

Please sign in to comment.