rhythia-api 67.0.0 → 69.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.
- package/api/editProfile.ts +1 -1
- package/api/getProfile.ts +1 -1
- package/package.json +4 -2
package/api/editProfile.ts
CHANGED
|
@@ -27,7 +27,7 @@ export async function POST(res: Response): Promise<NextResponse> {
|
|
|
27
27
|
});
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
async function handler(
|
|
30
|
+
export async function handler(
|
|
31
31
|
data: (typeof Schema)["input"]["_type"]
|
|
32
32
|
): Promise<NextResponse<(typeof Schema)["output"]["_type"]>> {
|
|
33
33
|
const user = (await supabase.auth.getUser(data.session)).data.user!;
|
package/api/getProfile.ts
CHANGED
|
@@ -36,7 +36,7 @@ export async function POST(res: Response): Promise<NextResponse> {
|
|
|
36
36
|
});
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
async function handler(
|
|
39
|
+
export async function handler(
|
|
40
40
|
data: (typeof Schema)["input"]["_type"]
|
|
41
41
|
): Promise<NextResponse<(typeof Schema)["output"]["_type"]>> {
|
|
42
42
|
let { data: profiles, error } = await supabase
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rhythia-api",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "69.0.0",
|
|
4
4
|
"main": "index.ts",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"update": "bun ./scripts/update.ts",
|
|
@@ -11,6 +11,9 @@
|
|
|
11
11
|
"pipeline:deploy-testing": "tsx ./scripts/build.ts"
|
|
12
12
|
},
|
|
13
13
|
"license": "MIT",
|
|
14
|
+
"devDependencies": {
|
|
15
|
+
"next": "^14.2.5"
|
|
16
|
+
},
|
|
14
17
|
"dependencies": {
|
|
15
18
|
"@netlify/zip-it-and-ship-it": "^9.37.9",
|
|
16
19
|
"@supabase/supabase-js": "^2.45.1",
|
|
@@ -26,7 +29,6 @@
|
|
|
26
29
|
"http-status": "^1.7.4",
|
|
27
30
|
"isomorphic-git": "^1.27.1",
|
|
28
31
|
"lodash": "^4.17.21",
|
|
29
|
-
"next": "^14.2.5",
|
|
30
32
|
"simple-git": "^3.25.0",
|
|
31
33
|
"supabase": "^1.190.0",
|
|
32
34
|
"tsx": "^4.17.0",
|