Add GET profile posts endpoint
This commit is contained in:
@@ -9,6 +9,7 @@ import { handler as launcherLatestHandler } from './routes/launcher/latest'
|
||||
import { handler as launcherLoaderLatestHandler } from './routes/launcher/loader/latest'
|
||||
import { handler as launcherLoaderUpdateDataHandler } from './routes/launcher/loader/update-data'
|
||||
import { handler as berrydashLeaderboardsHandler } from './routes/berrydash/leaderboards'
|
||||
import { handler as berrydashProfilePostsGetHandler } from './routes/berrydash/profile/posts/get'
|
||||
|
||||
dotenv.config()
|
||||
|
||||
@@ -41,6 +42,9 @@ app.get('/berrydash/leaderboards/legacy', context =>
|
||||
app.get('/berrydash/leaderboards/total', context =>
|
||||
berrydashLeaderboardsHandler(context, 4)
|
||||
)
|
||||
app.get('/berrydash/profile/posts', context =>
|
||||
berrydashProfilePostsGetHandler(context)
|
||||
)
|
||||
app.all('*', () =>
|
||||
jsonResponse(
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user