π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Fix type cast error
Neeraj Gupta06b143fec83c
diff --git a/pkg/model/remote.go b/pkg/model/remote.goindex 3fb0be9e41..4787744d68 100644--- a/pkg/model/remote.go+++ b/pkg/model/remote.go@@ -69,7 +69,7 @@ func (r *RemoteFile) GetFileType() FileType {if !ok {panic("fileType not found in metadata")}- switch value.(int8) {+ switch int8(value.(float64)) {case 0:return Imagecase 1: