chore (backend-rs): static -> const

This commit is contained in:
naskya 2024-04-26 06:34:09 +09:00
parent d9028a786f
commit a4e6964d2f
No known key found for this signature in database
GPG Key ID: 712D413B3A9FED5C
1 changed files with 1 additions and 1 deletions

View File

@ -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,