summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorD. Scott Boggs <scott@tams.tech>2023-05-19 07:50:30 -0400
committerD. Scott Boggs <scott@tams.tech>2023-09-01 07:50:40 -0400
commit381eac69dec96a6982ae7d0e09cd29182f628254 (patch)
treeb04a1c6186ff839fc33a6d3eb024d00c409d3414
parent915d28ba29efc3161c4882abf87161c95a95c209 (diff)
VapidKey is not optional
-rw-r--r--entities/src/application.rs2
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