mirror of
https://github.com/djdevin/recflare.git
synced 2026-10-27 07:58:55 -07:00
[www] enable plus for a user
This commit is contained in:
@@ -52,6 +52,7 @@ import {
|
||||
giftRoomTokensHandler,
|
||||
giftTokensHandler,
|
||||
giftXpHandler,
|
||||
grantPlusHandler,
|
||||
linkedAccountsHandler,
|
||||
playerHistoryHandler,
|
||||
requireDeveloper,
|
||||
@@ -560,6 +561,8 @@ const app = new Hono<App>()
|
||||
// Its sibling: the same gift to every account whose Discord link holds a role, offline
|
||||
// included — the supporter cron's audience, with an operator's amount and message.
|
||||
.post('/api/staff/discord-roles/:roleId/gift-tokens', requireDeveloper, giftRoleTokensHandler)
|
||||
// Rec Room Plus is worth tokens and a discount, so granting it is developer-only too.
|
||||
.post('/api/staff/players/:id/grant-plus', requireDeveloper, grantPlusHandler)
|
||||
.post('/api/staff/players/:id/username-changes', addUsernameChangeHandler)
|
||||
.post('/api/staff/players/:id/clear-password', clearPasswordHandler)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user