Spaces:
Build error
Build error
fix
Browse files
backend/functions/src/cloud-functions/searcher.ts
CHANGED
|
@@ -90,7 +90,7 @@ export class SearcherHost extends RPCHost {
|
|
| 90 |
) {
|
| 91 |
const uid = await auth.solveUID();
|
| 92 |
let chargeAmount = 0;
|
| 93 |
-
const noSlashPath = decodeURIComponent(ctx.req.
|
| 94 |
if (!noSlashPath && !q) {
|
| 95 |
const latestUser = uid ? await auth.assertUser() : undefined;
|
| 96 |
if (!ctx.req.accepts('text/plain') && (ctx.req.accepts('text/json') || ctx.req.accepts('application/json'))) {
|
|
|
|
| 90 |
) {
|
| 91 |
const uid = await auth.solveUID();
|
| 92 |
let chargeAmount = 0;
|
| 93 |
+
const noSlashPath = decodeURIComponent(ctx.req.path).slice(1);
|
| 94 |
if (!noSlashPath && !q) {
|
| 95 |
const latestUser = uid ? await auth.assertUser() : undefined;
|
| 96 |
if (!ctx.req.accepts('text/plain') && (ctx.req.accepts('text/json') || ctx.req.accepts('application/json'))) {
|
thinapps-shared
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
Subproject commit
|
|
|
|
| 1 |
+
Subproject commit e3136746a0736b7308c56406abf0b7126ec788f9
|