1
0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2024-11-26 04:42:50 +01:00

Ignore unused field

This commit is contained in:
Daniel García 2021-12-28 00:48:33 +01:00
parent fd9693b961
commit 5125fdb882
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("devicetype"))]
device_type: Option<String>,
#[allow(unused)]
#[field(name = uncased("device_push_token"))]
#[field(name = uncased("devicepushtoken"))]
_device_push_token: Option<String>, // Unused; mobile device push not yet supported.