nomagick commited on
Commit
a54816d
·
unverified ·
1 Parent(s): 6a97f0b
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.url).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'))) {
 
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 da6e55d2d5ea310ebc443dab6cdca9f7a9d8e67d
 
1
+ Subproject commit e3136746a0736b7308c56406abf0b7126ec788f9