Skip to content

Commit

Permalink
Second save to readme progress and changing get to post request in ro…
Browse files Browse the repository at this point in the history
…uter
  • Loading branch information
mzkrasner committed Apr 17, 2024
1 parent 24b58b7 commit ecafa1e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions demo/server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ In order to use an extended type (like this server example uses), the following
2. Next, the developer would deploy the [SandboxPointAggregation](./composites/sandboxAggregation.graphql) type (which imports one of the default library interfaces already deployed above in step 1)
3. An .env file would have been generated at the root of this directory using the same format as [.env.example](./.env.example), using your endpoint in place of `CERAMIC_URL`, the corresponding StreamID for your `SandboxPointAggregation` model you just deployed in place of `AGGREGATION_ID`, and a private key

## MultiController



## License

Dual licensed under MIT and Apache 2
2 changes: 1 addition & 1 deletion demo/server/src/routes/multi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ router.post(
},
)

router.get(
router.post(
'/getAggregations',
multiplePointsController.getContextAggregation as RequestHandler,
multiplePointsController.getTotalAggregation as RequestHandler,
Expand Down

0 comments on commit ecafa1e

Please sign in to comment.