Skip to content

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
patinthehat committed Jan 19, 2024
1 parent 96af13c commit 7bae156
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/lib/routes.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import { getMemberData } from '@/api-calls';

function apiJoin(...endpoints) {
return endpoints.join('/');
}
Expand Down Expand Up @@ -45,6 +43,6 @@ export const routes = {
getMemberData: id => apiJoin(routes.api.base, `member/member-details/${id}`),
basicSystemInfo: () => apiJoin(routes.api.base, 'user/details/new-member'),
},
announcements: {list: () => apiJoin(routes.api.base, 'user/details/announcement'),},
announcements: { list: () => apiJoin(routes.api.base, 'user/details/announcement') },
},
};

0 comments on commit 7bae156

Please sign in to comment.