rhythia-api 119.0.0 → 120.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,7 +10,7 @@ export const Schema = {
10
10
  page: z.number().default(1),
11
11
  maxStars: z.number().optional(),
12
12
  minStars: z.number().optional(),
13
- creator: z.string().optional(),
13
+ creator: z.number().optional(),
14
14
  status: z.string().optional(),
15
15
  }),
16
16
  output: z.object({
@@ -106,7 +106,7 @@ export async function getBeatmaps(data: (typeof Schema)["input"]["_type"]) {
106
106
  }
107
107
 
108
108
  if (data.creator) {
109
- qry = qry.eq("creator", data.creator);
109
+ qry = qry.eq("owner", data.creator);
110
110
  }
111
111
 
112
112
  let queryData = await qry.range(startPage, endPage);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rhythia-api",
3
- "version": "119.0.0",
3
+ "version": "120.0.0",
4
4
  "main": "index.ts",
5
5
  "scripts": {
6
6
  "update": "bun ./scripts/update.ts",