summary refs log tree commit diff
path: root/api/.vscode/api-snippets.code-snippets
diff options
context:
space:
mode:
authorSamuel <34555296+Flam3rboy@users.noreply.github.com>2021-10-20 14:16:26 -0400
committerGitHub <noreply@github.com>2021-10-20 14:16:26 -0400
commitb8b0112d049521eb479467c100628ec4aa59f0ee (patch)
tree71daee72e6455add73cf736f90ade349a6c71262 /api/.vscode/api-snippets.code-snippets
parentMerge branch 'master' of http://github.com/fosscord/fosscord-server (diff)
parentreplaced space with tabs (diff)
downloadserver-b8b0112d049521eb479467c100628ec4aa59f0ee.tar.xz
Merge pull request #490 from developomp/master
Prettier format and link simplification
Diffstat (limited to 'api/.vscode/api-snippets.code-snippets')
-rw-r--r--api/.vscode/api-snippets.code-snippets10
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 + } +}