Skip to content

Commit 8d3949f

Browse files
Merge pull request #263 from phnx-im/fix-oauth-rename-field
fix: Rename field of OAuth response
2 parents fe76119 + 74c48be commit 8d3949f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

server/src/endpoints/qs/push_notification_provider.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,9 @@ struct FcmClaims {
3434
#[derive(Debug, Deserialize)]
3535
struct OauthSuccessResponse {
3636
access_token: String,
37-
_token_type: String,
3837
expires_in: u64,
38+
#[allow(dead_code)]
39+
token_type: String,
3940
}
4041

4142
#[derive(Debug, Deserialize)]

0 commit comments

Comments
 (0)