Skip to content

Commit cac6d41

Browse files
committed
Adjust schema
1 parent a3cc4c6 commit cac6d41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/root.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export default new Elysia()
5757
description: `Get another players' tag info`
5858
},
5959
response: {
60-
200: t.Object({ uuid: t.String(), tag: t.Union([t.String(), t.Null()]), position: t.String(), icon: t.Object({ type: t.String(), hash: t.Union([t.String(), t.Null()]) }), referred: t.Boolean(), referrals: t.Integer(), roles: t.Array(t.String()), permissions: t.Array(t.String()), ban: t.Union([t.Object({ active: t.Boolean(), reason: t.Union([t.String(), t.Null()]) }), t.Null()]) }, { description: `You received the tag data.` }),
60+
200: t.Object({ uuid: t.String(), tag: t.Union([t.String(), t.Null()]), position: t.String(), icon: /*t.Object({ type: t.String(), hash: t.Union([t.String(), t.Null()]) })*/ t.String(), referred: t.Boolean(), referrals: t.Integer(), roles: t.Array(t.String()), permissions: t.Array(t.String()), ban: t.Union([t.Object({ active: t.Boolean(), reason: t.Union([t.String(), t.Null()]) }), t.Null()]) }, { description: `You received the tag data.` }),
6161
401: t.Object({ error: t.String() }, { description: "You've passed a malformed authorization header." }),
6262
403: t.Object({ error: t.String() }, { description: `The player is banned.` }),
6363
404: t.Object({ error: t.String() }, { description: `The player is not in the database.` }),

0 commit comments

Comments
 (0)