Skip to content

Commit 7b6b7c9

Browse files
committed
[AUTOMATED]: Prettier Code Styling
1 parent d73a86c commit 7b6b7c9

File tree

1 file changed

+4
-2
lines changed
  • packages/database/src/core/util/libs

1 file changed

+4
-2
lines changed

packages/database/src/core/util/libs/parser.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,9 @@ export const parseURL = function(
152152
// For pathString, questionInd will always come after slashInd
153153
pathString = decodePath(dataURL.substring(slashInd, questionInd));
154154
}
155-
let queryParams = decodeQuery(dataURL.substring(Math.min(dataURL.length, questionInd + 1)));
155+
let queryParams = decodeQuery(
156+
dataURL.substring(Math.min(dataURL.length, questionInd + 1))
157+
);
156158

157159
// If we have a port, use scheme for determining if it's secure.
158160
colonInd = host.indexOf(':');
@@ -176,7 +178,7 @@ export const parseURL = function(
176178
// Support `ns` query param if subdomain not already set
177179
if (subdomain === '' && queryParams.has('ns')) {
178180
subdomain = queryParams.get('ns');
179-
console.log("here", queryParams, subdomain);
181+
console.log('here', queryParams, subdomain);
180182
}
181183
}
182184

0 commit comments

Comments
 (0)