π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
omitEmpty field from claim json
Neeraj Gupta162ce32b8ed8
diff --git a/server/ente/jwt/jwt.go b/server/ente/jwt/jwt.goindex 567ff6bfb2..94cfa995f2 100644--- a/server/ente/jwt/jwt.go+++ b/server/ente/jwt/jwt.go@@ -20,10 +20,10 @@ func (c ClaimScope) Ptr() *ClaimScope {}type WebCommonJWTClaim struct {- UserID int64 `json:"userID"`- ExpiryTime int64 `json:"expiryTime"`- Email string `json:"email"`- ClaimScope *ClaimScope `json:"claimScope"`+ UserID int64 `json:"userID,omitempty"`+ ExpiryTime int64 `json:"expiryTime,omitempty"`+ Email string `json:"email,omitempty"`+ ClaimScope *ClaimScope `json:"claimScope,omitempty"`}func (w *WebCommonJWTClaim) GetScope() ClaimScope {