0
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden synced 2024-11-15 22:42:51 +01:00

Ignore unused field

This commit is contained in:
Daniel García 2021-12-28 00:48:33 +01:00
parent cad0dcbed1
commit 2b75d81a8b
No known key found for this signature in database
GPG key ID: FC8A7D14C3CD543A

View file

@ -495,6 +495,7 @@ struct ConnectData {
#[field(name = uncased("device_type"))] #[field(name = uncased("device_type"))]
#[field(name = uncased("devicetype"))] #[field(name = uncased("devicetype"))]
device_type: Option<String>, device_type: Option<String>,
#[allow(unused)]
#[field(name = uncased("device_push_token"))] #[field(name = uncased("device_push_token"))]
#[field(name = uncased("devicepushtoken"))] #[field(name = uncased("devicepushtoken"))]
_device_push_token: Option<String>, // Unused; mobile device push not yet supported. _device_push_token: Option<String>, // Unused; mobile device push not yet supported.