Skip to content

Commit

Permalink
Changed filter parameters (event listing and state)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkonst committed Mar 10, 2020
1 parent b8ac5e1 commit 210ac05
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ulms/api-clients",
"version": "0.1.0",
"version": "0.2.0",
"description": "JavaScript API clients for ULMS platform",
"files": [
"lib"
Expand Down
4 changes: 0 additions & 4 deletions src/event.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ class Event extends Service {
const {
direction,
label,
last_created_at,
last_occurred_at,
limit,
set,
Expand All @@ -127,7 +126,6 @@ class Event extends Service {
const params = {
direction,
label,
last_created_at,
last_occurred_at,
limit,
room_id,
Expand All @@ -147,12 +145,10 @@ class Event extends Service {
*/
readState (room_id, sets, filterParams = {}) {
const {
last_created_at,
limit,
occurred_at
} = filterParams
const params = {
last_created_at,
limit,
occurred_at,
room_id,
Expand Down

0 comments on commit 210ac05

Please sign in to comment.