Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: moving product queries to adapter #284

Merged
merged 30 commits into from
Sep 3, 2024
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
04852c1
feat: product query to adapter
joelhooks Sep 1, 2024
811b14b
fix: types
joelhooks Sep 1, 2024
2114a78
fix: tables for tests were stale
joelhooks Sep 1, 2024
bd43c03
fix: don't load from /dist
joelhooks Sep 1, 2024
ce7e3b2
fix: send in a mock stripe provider if one isn't supplied
joelhooks Sep 1, 2024
39bd12d
fix: payment provider is optional
joelhooks Sep 1, 2024
e8366d9
Merge branch 'main' into joel/cb-16-stripe-provider-and-product-to-ad…
joelhooks Sep 2, 2024
0e799b9
feat(cb): move utils and basic pricing types etc out of commerce-next…
joelhooks Sep 2, 2024
3208f58
Merge branch 'main' into joel/cb-16-stripe-provider-and-product-to-ad…
joelhooks Sep 2, 2024
f92051e
fix: sort a package.json file
joelhooks Sep 2, 2024
cc9887d
remove the `react-rsc` package
joelhooks Sep 2, 2024
98c671d
Merge branch 'main' into joel/cb-16-stripe-provider-and-product-to-ad…
joelhooks Sep 2, 2024
86d5962
add sql to shiki list
joelhooks Sep 2, 2024
2b2abaf
don't log pinecone as error
joelhooks Sep 2, 2024
9de07d6
don't log missing article as error
joelhooks Sep 2, 2024
50bb9a0
try to add role better
joelhooks Sep 2, 2024
9292d07
hotfix: handle refunds properly
joelhooks Sep 2, 2024
159eaae
hotfix: handle refunds properly
joelhooks Sep 2, 2024
da99aa0
fix: redirect to discord after connecting
joelhooks Sep 2, 2024
b1093a7
delete stripe adapter
joelhooks Sep 1, 2024
dfa9dbe
fix: types
joelhooks Sep 1, 2024
d1284b2
fix: tables for tests were stale
joelhooks Sep 1, 2024
2de200c
fix: don't load from /dist
joelhooks Sep 1, 2024
541c498
fix: send in a mock stripe provider if one isn't supplied
joelhooks Sep 1, 2024
75cf2ca
fix: payment provider is optional
joelhooks Sep 1, 2024
f368742
feat(cb): move utils and basic pricing types etc out of commerce-next…
joelhooks Sep 2, 2024
ea7305d
fix: sort a package.json file
joelhooks Sep 2, 2024
8555f01
remove the `react-rsc` package
joelhooks Sep 2, 2024
d466eea
package lock
joelhooks Sep 3, 2024
917e676
Merge remote-tracking branch 'origin/joel/cb-16-stripe-provider-and-p…
joelhooks Sep 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
don't log missing article as error
  • Loading branch information
joelhooks committed Sep 2, 2024
commit 9de07d635f11fe874e0623b5f0b50f11e6b01832
2 changes: 1 addition & 1 deletion apps/pro-nextjs/src/lib/articles-query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export async function getArticle(slugOrId: string) {

const articleParsed = ArticleSchema.safeParse(article)
if (!articleParsed.success) {
console.error('Error parsing article', articleParsed)
console.debug('Error parsing article', articleParsed)
return null
}

Expand Down
Loading