Skip to content

Commit

Permalink
fix: hardcode path for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Khaaz committed Dec 17, 2023
1 parent e216afe commit e6ac29c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/routes/accounts.route.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { OPEN_API } from "@owlebot/lib/endpoints";
import {
Controller,
Get,
Expand All @@ -10,12 +9,12 @@ import {

import { User } from "../dto/output/user.dto.js";
import { UsersService } from "../services/users.service.js";

@Route(OPEN_API.ACCOUNTS.router() )
@Route("accounts")
export class AccountsController extends Controller {
usersService = new UsersService();

@Get(OPEN_API.ACCOUNTS._.USER.COMMUNITIES.def("{accountId}") )
@Get("{accountId}/user/communities")
@Security("api_key")
public async getUserCommunities(
@Request() req: Request,
Expand Down

0 comments on commit e6ac29c

Please sign in to comment.