chore (backend-rs): static -> const
This commit is contained in:
parent
d9028a786f
commit
a4e6964d2f
|
@ -103,7 +103,7 @@ pub async fn send_push_notification(
|
|||
kind: PushNotificationKind,
|
||||
content: &serde_json::Value,
|
||||
) -> Result<(), Error> {
|
||||
static WEBPUSH_ERRORS_FOR_UNSUBSCRIBING: [WebPushError; 11] = [
|
||||
const WEBPUSH_ERRORS_FOR_UNSUBSCRIBING: [WebPushError; 11] = [
|
||||
WebPushError::BadRequest(None),
|
||||
WebPushError::ServerError(None),
|
||||
WebPushError::InvalidUri,
|
||||
|
|
Loading…
Reference in New Issue