This repository was archived by the owner on May 20, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 13 files changed +14
-14
lines changed Expand file tree Collapse file tree 13 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -840,8 +840,8 @@ import 'package:nitric_sdk/nitric.dart';
840840import '../middlewares';
841841
842842Future<HttpContext> getAllCustomers(HttpContext ctx) async {
843- // gets the customers
844- return ctx.next();
843+ // gets the customers
844+ return ctx.next();
845845}
846846
847847final customersApi = Nitric.api("customers");
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ Future<HttpContext> validate(HttpContext ctx) async {
8888
8989Future<HttpContext> handleCustomer(HttpContext ctx) async {
9090 // handle the request...
91- return ctx.next();
91+ return ctx.next();
9292}
9393
9494// The validate middleware will run before the handleCustomer handler
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ Future<HttpContext> validate(HttpContext ctx) async {
9494
9595Future<HttpContext> deleteCustomer(HttpContext ctx) async {
9696 // handle the DELETE request...
97- return ctx.next();
97+ return ctx.next();
9898}
9999
100100// The validate middleware will run before the deleteCustomer handler
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ Future<HttpContext> validate(HttpContext ctx) async {
9191
9292Future<HttpContext> getCustomer(HttpContext ctx) async {
9393 // handle the GET request...
94- return ctx.next();
94+ return ctx.next();
9595}
9696
9797// The validate middleware will run before the getCustomer handler
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ Future<HttpContext> validate(HttpContext ctx) async {
9191
9292Future<HttpContext> udpateCustomer(HttpContext ctx) async {
9393 // handle the PATCH request...
94- return ctx.next();
94+ return ctx.next();
9595}
9696
9797// The validate middleware will run before the updateCustomer handler
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ Future<HttpContext> validate(HttpContext ctx) async {
9191
9292Future<HttpContext> createCustomer(HttpContext ctx) async {
9393 // handle the POST request...
94- return ctx.next();
94+ return ctx.next();
9595}
9696
9797// The validate middleware will run before the createCustomer handler
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ Future<HttpContext> validate(HttpContext ctx) async {
9191
9292Future<HttpContext> createOrUpdateCustomer(HttpContext ctx) async {
9393 // handle the UPDATE request...
94- return ctx.next();
94+ return ctx.next();
9595}
9696
9797// The validate middleware will run before the createOrUpdateCustomer handler
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ Future<HttpContext> validate(HttpContext ctx) async {
8787
8888Future<HttpContext> handleCustomer(HttpContext ctx) async {
8989 // handle the request...
90- return ctx.next();
90+ return ctx.next();
9191}
9292
9393// The validate middleware will run before all handlers that are created using this route
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ Future<HttpContext> validate(HttpContext ctx) async {
6868
6969Future<HttpContext> deleteCustomer(HttpContext ctx) async {
7070 // handle the DELETE request...
71- return ctx.next();
71+ return ctx.next();
7272}
7373
7474// The validate middleware will run before all handlers that are created using this route
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ Future<HttpContext> validate(HttpContext ctx) async {
6868
6969Future<HttpContext> getCustomer(HttpContext ctx) async {
7070 // handle the GET request...
71- return ctx.next();
71+ return ctx.next();
7272}
7373
7474// The validate middleware will run before all handlers that are created using this route
You can’t perform that action at this time.
0 commit comments