Skip to content

Commit 9c05f6d

Browse files
authored
Update index.js
1 parent ae6eab0 commit 9c05f6d

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

functions/index.js

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -131,14 +131,3 @@ server.use(express.static('public'))
131131

132132
exports[functionName] = functions.https.onRequest(server)
133133
console.log(`-- Starting '${app.title}' E-Com Plus app with Function '${functionName}'`)
134-
135-
// schedule update tokens job
136-
// const cron = '15 */3 * * *'
137-
/*
138-
exports.updateTokens = functions.pubsub.schedule(cron).onRun(() => {
139-
return prepareAppSdk().then(appSdk => {
140-
return appSdk.updateTokens()
141-
})
142-
})
143-
console.log(`-- Sheduled update E-Com Plus tokens '${cron}'`)
144-
*/

0 commit comments

Comments
 (0)