diff options
author | D. Scott Boggs <scott@tams.tech> | 2023-05-19 07:50:30 -0400 |
---|---|---|
committer | D. Scott Boggs <scott@tams.tech> | 2024-04-08 09:28:02 -0400 |
commit | 3566a6775dc8eae20fc2deaa1cd36786a319b414 (patch) | |
tree | 91dec8c849ebf5e415049f46ac86060ebc27d4ff | |
parent | 56805cc200cb1518189d6c3f8c1be151d3229f13 (diff) |
VapidKey is not optional
-rw-r--r-- | entities/src/application.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/entities/src/application.rs b/entities/src/application.rs index 036bfbf..4e5c9b5 100644 --- a/entities/src/application.rs +++ b/entities/src/application.rs @@ -12,7 +12,7 @@ pub struct Application { pub website: Option<String>, /// Used for Push Streaming API. Returned with POST /api/v1/apps. Equivalent /// to [`Subscription::server_key`](crate::push::Subscription::server_key) - pub vapid_key: Option<VapidKey>, + pub vapid_key: VapidKey, /// Client ID key, to be used for obtaining OAuth tokens pub client_id: Option<String>, /// Client secret key, to be used for obtaining OAuth tokens |