Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
fixing sample Node.js code in Markdown
  • Loading branch information
ManuInNZ authored and BreX900 committed Nov 25, 2023
1 parent 2b8e138 commit 17e6264
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions stripe_terminal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,11 @@ You can see the usage example in the [example folder](example/lib/main.dart)
);
```
Example backend code to get the connection token written on node.js:
```
Example backend code to get the connection token written on node.js:
```js
import Stripe from "stripe";
import express from "express"
import express from "express";
const stripe = new Stripe("sk_test_XXXXXXXXXXXXXXXXXX", {
apiVersion: "2020-08-27"
Expand All @@ -116,7 +117,7 @@ Example backend code to get the connection token written on node.js:
app.listen(8000, () => {
console.log("Server started")
});
```
```
## Discover and Connect Reader
Expand Down

0 comments on commit 17e6264

Please sign in to comment.