Skip to content

Commit

Permalink
Merge pull request #290 from maretol/fix-dependabot
Browse files Browse the repository at this point in the history
Fix dependabot
  • Loading branch information
maretol authored Jan 25, 2025
2 parents 36aa6e0 + fb0616b commit e12ab2f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ updates:
- 'pages/'
- 'cms-data-fetcher/'
- 'ogp-data-fetcher/'
- 'cms-cache-purger/'
- '/'
schedule:
interval: 'daily'
Expand Down
1 change: 1 addition & 0 deletions cms-cache-purger/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export default {
},
}

// TODO: キーがなかった場合の考慮がなされていない
async function deleteContentsCache(env: Env) {
const list = await env.CACHE_KV_NAMESPACE.list<string>({ prefix: 'contents_' })
// すべての contents_ から始まるキーを削除する
Expand Down

0 comments on commit e12ab2f

Please sign in to comment.