diff options
Diffstat (limited to 'api/.vscode/api-snippets.code-snippets')
-rw-r--r-- | api/.vscode/api-snippets.code-snippets | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/api/.vscode/api-snippets.code-snippets b/api/.vscode/api-snippets.code-snippets index 17bde62f..ef4b6386 100644 --- a/api/.vscode/api-snippets.code-snippets +++ b/api/.vscode/api-snippets.code-snippets @@ -19,11 +19,7 @@ "Route": { "scope": "typescript", "prefix": "route", - "body": [ - "router.get(\"$1\", route({}), (req: Request, res: Response) => {", - "\t$2", - "});" - ], + "body": ["router.get(\"$1\", route({}), (req: Request, res: Response) => {", "\t$2", "});"], "description": "An API endpoint" - }, -} \ No newline at end of file + } +} |