Browse Source
fix: get syncInterval from model instead of module data (#3003)
pull/3048/head
Paul
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
server/graph/resolvers/storage.js
|
|
@ -19,7 +19,7 @@ module.exports = { |
|
|
|
...targetInfo, |
|
|
|
...tgt, |
|
|
|
hasSchedule: (targetInfo.schedule !== false), |
|
|
|
syncInterval: targetInfo.syncInterval || targetInfo.schedule || 'P0D', |
|
|
|
syncInterval: tgt.syncInterval || targetInfo.schedule || 'P0D', |
|
|
|
syncIntervalDefault: targetInfo.schedule, |
|
|
|
config: _.sortBy(_.transform(tgt.config, (res, value, key) => { |
|
|
|
const configData = _.get(targetInfo.props, key, false) |
|
|
|