Skip to content

Commit

Permalink
fix not a function error
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-sidhdhi-p committed Sep 19, 2024
1 parent 1c87a65 commit 8a5a529
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 4 deletions.
2 changes: 1 addition & 1 deletion khelo/functions/src/team/team_repository.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class TeamRepository {
return this.db.collection("teams");
}
async getTeams(teamIds) {
const teamRef = this.teamRef.where("id", "in", teamIds);
const teamRef = this.teamRef().where("id", "in", teamIds);
try {
const teamDoc = await teamRef.get();
return teamDoc.docs.map((doc) => doc.data());
Expand Down
2 changes: 1 addition & 1 deletion khelo/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1607,6 +1607,6 @@ SPEC CHECKSUMS:
TOCropViewController: 80b8985ad794298fb69d3341de183f33d1853654
url_launcher_ios: 5334b05cef931de560670eeae103fd3e431ac3fe

PODFILE CHECKSUM: 3ce8454a17a50c1f6c4f04aec3c021ceeca04e07
PODFILE CHECKSUM: 1239998dc2f1d4ca9d4b78c3bbcb72b30c7118bb

COCOAPODS: 1.15.2
22 changes: 20 additions & 2 deletions khelo/ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,8 @@
3B06AD1E1E4923F5004D2608 /* Thin Binary */,
B701D8A68AF0CB72EE4EF76E /* FlutterFire: "flutterfire upload-crashlytics-symbols" */,
75EEB2C25DCD12D9EE1B3BA1 /* [CP] Embed Pods Frameworks */,
9C8DD79CF293961A8F4177C2 /* [CP] Copy Pods Resources */,
9C8DD79CF293961A8F4177C2 /* [CP] Embed Pods Frameworks */,
9EE7146958D62CE1CD764FEE /* [CP] Copy Pods Resources */,
);
buildRules = (
);
Expand Down Expand Up @@ -349,7 +350,7 @@
shellPath = /bin/sh;
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build\n";
};
9C8DD79CF293961A8F4177C2 /* [CP] Copy Pods Resources */ = {
9C8DD79CF293961A8F4177C2 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
Expand All @@ -366,6 +367,23 @@
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
9EE7146958D62CE1CD764FEE /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-input-files.xcfilelist",
);
name = "[CP] Copy Pods Resources";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-output-files.xcfilelist",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n";
showEnvVarsInLog = 0;
};
B701D8A68AF0CB72EE4EF76E /* FlutterFire: "flutterfire upload-crashlytics-symbols" */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
Expand Down

0 comments on commit 8a5a529

Please sign in to comment.