Skip to content

Commit 1160d30

Browse files
committed
update README, add newline to CLA
1 parent 814ecbe commit 1160d30

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.github/workflows/cla.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,5 @@ jobs:
2020
- uses: Shopify/shopify-cla-action@v1
2121
with:
2222
github-token: ${{ secrets.GITHUB_TOKEN }}
23-
cla-token: ${{ secrets.CLA_TOKEN }}
23+
cla-token: ${{ secrets.CLA_TOKEN }}
24+

README.md

+2-5
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,7 @@ The WASM API consists of these main components:
3737
Here's a simple example of how to use the API:
3838

3939
```rust
40-
use shopify_function_wasm_api::prelude::*;
41-
42-
#[shopify_function]
43-
fn function(context: &mut Context) -> Result<()> {
40+
fn main(context: &mut Context) -> Result<()> {
4441
let input = context.input_get()?;
4542

4643
// Function logic
@@ -71,7 +68,7 @@ For examples, check out the [examples directory](./api/examples/).
7168

7269
For more detailed documentation, refer to:
7370

74-
- [API Reference](./api/examples)
71+
- [Examples](./api/examples)
7572
- [Integration Tests](./integration_tests/tests/integration_test.rs)
7673

7774
## Contributing

0 commit comments

Comments
 (0)