Skip to content

Commit 806e4e8

Browse files
authored
fix: get syncInterval from model instead of module data (#3003)
1 parent b106018 commit 806e4e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/graph/resolvers/storage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ module.exports = {
1919
...targetInfo,
2020
...tgt,
2121
hasSchedule: (targetInfo.schedule !== false),
22-
syncInterval: targetInfo.syncInterval || targetInfo.schedule || 'P0D',
22+
syncInterval: tgt.syncInterval || targetInfo.schedule || 'P0D',
2323
syncIntervalDefault: targetInfo.schedule,
2424
config: _.sortBy(_.transform(tgt.config, (res, value, key) => {
2525
const configData = _.get(targetInfo.props, key, false)

0 commit comments

Comments
 (0)