mirror of
https://github.com/StarFleetCPTN/GoMFT.git
synced 2026-11-17 01:04:44 +01:00
Merge branch 'transfer-calendar' into development
This commit is contained in:
commit
98e20ea843
22 files changed
+1258
-95
No files matched your search
@@ -248,7 +248,7 @@ func extractSourceProviderConfig(config *TransferConfig) *ProviderConfig {
|
||||
}
|
||||
|
||||
// Special handling for OAuth authentication status
|
||||
if config.SourceType == "gdrive" || config.SourceType == "gphotos" {
|
||||
if config.SourceType == "drive" || config.SourceType == "gphotos" {
|
||||
authenticated := config.GetGoogleAuthenticated()
|
||||
sourceConfig.Authenticated = &authenticated
|
||||
}
|
||||
@@ -296,7 +296,7 @@ func extractDestinationProviderConfig(config *TransferConfig) *ProviderConfig {
|
||||
}
|
||||
|
||||
// Special handling for OAuth authentication status
|
||||
if config.DestinationType == "gdrive" || config.DestinationType == "gphotos" {
|
||||
if config.DestinationType == "drive" || config.DestinationType == "gphotos" {
|
||||
authenticated := config.GetGoogleAuthenticated()
|
||||
destConfig.Authenticated = &authenticated
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user