Skip to content

Commit

Permalink
lmao im stupid
Browse files Browse the repository at this point in the history
  • Loading branch information
saboooor committed Jun 9, 2024
1 parent 9f008a1 commit c075126
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "birdflop",
"version": "8.10.0",
"version": "8.10.1",
"homepage": "https://www.birdflop.com",
"description": "The only 501(c)(3) nonprofit Minecraft server host.",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/routes/api/v2/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export const onGet: RequestHandler = async ({ json }) => {
throw json(200, {
endpoints: {
'/api/v2/rgb': {
type: 'GET',
type: 'POST',
description: 'Generate a gradient.',
},
},
Expand Down
2 changes: 1 addition & 1 deletion src/routes/api/v2/rgb/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { v3formats } from '~/components/util/PresetUtils';
import { generateOutput } from '~/components/util/RGBUtils';
import { rgbDefaults } from '~/routes/resources/rgb';

export const onGet: RequestHandler = async ({ json, parseBody }) => {
export const onPost: RequestHandler = async ({ json, parseBody }) => {
const body = await parseBody() as any;
const { text, colors, prefixsuffix, trimspaces, bold, italic, underline, strikethrough, silent } = body ?? {};

Expand Down

0 comments on commit c075126

Please sign in to comment.