diff options
author | ChrisChrome <christophercookman@gmail.com> | 2022-08-10 03:52:03 -0600 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-12-18 22:43:14 +1100 |
commit | 577e9e89e24a8a35f100704b46b30291eaa830a9 (patch) | |
tree | e7554d14f74b378e81b8677f1f2a17b9dfa4cfc4 /src/api/routes/applications/index.ts | |
parent | Add basic developer panel functionality - doesn't work yet (diff) | |
download | server-577e9e89e24a8a35f100704b46b30291eaa830a9.tar.xz |
It works now... I guess
Co-authored-by: TheArcaneBrony <myrainbowdash949@gmail.com>
Diffstat (limited to 'src/api/routes/applications/index.ts')
-rw-r--r-- | src/api/routes/applications/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/routes/applications/index.ts b/src/api/routes/applications/index.ts index c9be1131..41ce35b5 100644 --- a/src/api/routes/applications/index.ts +++ b/src/api/routes/applications/index.ts @@ -11,7 +11,7 @@ export interface ApplicationCreateSchema { router.get("/", route({}), async (req: Request, res: Response) => { //TODO - let results = await Application.find({where: {owner: {id: req.user_id}}, relations: ["owner"] }); + let results = await Application.find({where: {owner: {id: req.user_id}}, relations: ["owner", "bot"] }); res.json(results).status(200); }); |