We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86f4426 commit 2d16497Copy full SHA for 2d16497
src/remote-config/remote-config.ts
@@ -42,7 +42,6 @@ import {
42
InitServerTemplateOptions,
43
ServerTemplateDataType,
44
} from './remote-config-api';
45
-import { isString } from 'lodash';
46
47
/**
48
* The Firebase `RemoteConfig` service interface.
@@ -205,6 +204,7 @@ export class RemoteConfig {
205
204
if (options?.template) {
206
template.set(options?.template);
207
}
+
208
return template;
209
210
@@ -328,7 +328,7 @@ class ServerTemplateImpl implements ServerTemplate {
328
*/
329
public set(template: ServerTemplateDataType): void {
330
let parsed;
331
- if (isString(template)) {
+ if (validator.isString(template)) {
332
try {
333
parsed = JSON.parse(template);
334
} catch (e) {
0 commit comments