Skip to content

Commit

Permalink
Fix a Koa type linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
CaspianA1 committed Jul 1, 2024
1 parent 2e83c63 commit cc1bfbe
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 4 deletions.
71 changes: 68 additions & 3 deletions shop-guide/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions shop-guide/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"devDependencies": {
"@dbos-inc/dbos-cloud": "^1.15.9",
"@dbos-inc/eslint-plugin": "0.0.6",
"@types/koa": "2.15.0",
"eslint": "^8.56.0",
"typescript": "^5.2.2"
}
Expand Down
1 change: 0 additions & 1 deletion shop-guide/src/utilities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ export class ShopUtilities {

@PostApi('/payment_webhook')
static async paymentWebhook(ctxt: HandlerContext): Promise<void> {
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access
const req = ctxt.koaContext.request;

type Session = { session_id: string; client_reference_id?: string; payment_status: string };
Expand Down

0 comments on commit cc1bfbe

Please sign in to comment.