reverting random styling things?
This commit is contained in:
@@ -22,8 +22,8 @@ export const migrateBadgeProgress = createServerFn()
|
||||
|
||||
export const getAllBadges = createServerFn()
|
||||
.middleware([superTokensFunctionMiddleware])
|
||||
.handler(async () =>
|
||||
toServerResult(() => pbAdmin.listBadges()));
|
||||
.handler(async () =>
|
||||
toServerResult(() => pbAdmin.listBadges()))
|
||||
|
||||
export const getAllEarnedBadges = createServerFn()
|
||||
.middleware([superTokensFunctionMiddleware])
|
||||
@@ -31,8 +31,8 @@ export const getAllEarnedBadges = createServerFn()
|
||||
|
||||
export const awardManualBadge = createServerFn()
|
||||
.inputValidator(z.object({
|
||||
playerId: z.string(),
|
||||
badgeId: z.string(),
|
||||
playerId: z.string(),
|
||||
badgeId: z.string(),
|
||||
}))
|
||||
.middleware([superTokensAdminFunctionMiddleware])
|
||||
.handler(async ({ data }) =>
|
||||
|
||||
Reference in New Issue
Block a user