1
0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2024-11-22 19:02:54 +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("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.