Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions famis_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,8 @@ export class FamisClient {
this.host = host;
this.http = axios.create({
baseURL: host,
validateStatus: status => true
validateStatus: status => true,
maxBodyLength: Infinity,
});
if (autoRetry) {
axiosRetry(this.http, {
Expand Down Expand Up @@ -598,7 +599,7 @@ export class FamisClient {
requestTypeActivityIds = assocs.results.map(a => a.ActivityGroupId);
}
if (searchParams.activityGroupId || requestTypeActivityIds.length > 0) {
const activityIds = [searchParams.activityGroupId] ?? requestTypeActivityIds;
const activityIds = searchParams.activityGroupId ? [searchParams.activityGroupId] : requestTypeActivityIds;
const assocPromises = [];
const userActivityGroupAssocs: UserActivityGroupAssociations[] = [];
for (const activityId of activityIds) {
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "facility360",
"version": "1.0.31",
"version": "1.0.32",
"description": "A Node based 360Facility client SDK",
"main": "dist/index.js",
"scripts": {
Expand All @@ -21,7 +21,7 @@
"axios-retry": "^3.1.9",
"dotenv": "^8.2.0",
"moment": "^2.24.0",
"lodash": "^4.17.20",
"lodash": "4.17.20",
"bottleneck": "^2.19.5"
},
"prettier": {
Expand All @@ -31,7 +31,7 @@
"devDependencies": {
"@types/jest": "^24.0.19",
"@types/node": "^12.12.11",
"@types/lodash": "^4.14.168",
"@types/lodash": "4.14.168",
"jest": "^24.9.0",
"ts-jest": "^24.1.0",
"typescript": "^3.7.4"
Expand Down
24 changes: 12 additions & 12 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -352,15 +352,15 @@
dependencies:
jest-diff "^24.3.0"

"@types/lodash@^4.14.168":
"@types/lodash@4.14.168":
version "4.14.168"
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.168.tgz#fe24632e79b7ade3f132891afff86caa5e5ce008"
integrity sha512-oVfRvqHV/V6D1yifJbVRU3TMp8OT6o6BG+U9MkwuJ3U8/CsDHvalRpsxBqivn71ztOFZBTfJMvETbqHiaNSj7Q==

"@types/node@^12.12.11":
version "12.12.30"
resolved "https://registry.yarnpkg.com/@types/node/-/node-12.12.30.tgz#3501e6f09b954de9c404671cefdbcc5d9d7c45f6"
integrity sha512-sz9MF/zk6qVr3pAnM0BSQvYIBK44tS75QC5N+VbWSE4DjCV/pJ+UzCW/F+vVnl7TkOPcuwQureKNtSSwjBTaMg==
version "12.20.55"
resolved "https://registry.yarnpkg.com/@types/node/-/node-12.20.55.tgz#c329cbd434c42164f846b909bd6f85b5537f6240"
integrity sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==

"@types/stack-utils@^1.0.1":
version "1.0.1"
Expand Down Expand Up @@ -2121,16 +2121,16 @@ lodash.sortby@^4.7.0:
resolved "https://registry.yarnpkg.com/lodash.sortby/-/lodash.sortby-4.7.0.tgz#edd14c824e2cc9c1e0b0a1b42bb5210516a42438"
integrity sha1-7dFMgk4sycHgsKG0K7UhBRakJDg=

lodash@4.17.20:
version "4.17.20"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.20.tgz#b44a9b6297bcb698f1c51a3545a2b3b368d59c52"
integrity sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==

lodash@^4.17.13, lodash@^4.17.15:
version "4.17.15"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548"
integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==

lodash@^4.17.20:
version "4.17.20"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.20.tgz#b44a9b6297bcb698f1c51a3545a2b3b368d59c52"
integrity sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==

loose-envify@^1.0.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf"
Expand Down Expand Up @@ -3132,9 +3132,9 @@ type-check@~0.3.2:
prelude-ls "~1.1.2"

typescript@^3.7.4:
version "3.8.3"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.8.3.tgz#409eb8544ea0335711205869ec458ab109ee1061"
integrity sha512-MYlEfn5VrLNsgudQTVJeNaQFUAI7DkhnOjdpAp4T+ku1TfQClewlbSuTVHiA+8skNBgaf02TL/kLOvig4y3G8w==
version "3.9.10"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.10.tgz#70f3910ac7a51ed6bef79da7800690b19bf778b8"
integrity sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q==

union-value@^1.0.0:
version "1.0.1"
Expand Down
Loading