mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-05-25 10:10:21 +08:00
🐛 Fix: fix configure files sync bug
This commit is contained in:
@@ -60,8 +60,8 @@ function getSyncConfig () {
|
||||
}
|
||||
|
||||
function syncConfigValidator (syncConfig: SyncConfig) {
|
||||
const { type, file, username, repo, branch, token } = syncConfig
|
||||
return type && file && username && repo && branch && token
|
||||
const { type, username, repo, branch, token } = syncConfig
|
||||
return type && username && repo && branch && token
|
||||
}
|
||||
|
||||
async function getModifiedTime (syncConfig: SyncConfig, filePath: string) {
|
||||
|
||||
Reference in New Issue
Block a user