Skip to content
This repository has been archived by the owner on Aug 9, 2021. It is now read-only.

Commit

Permalink
Fix typo (#370)
Browse files Browse the repository at this point in the history
* Only show active devices in browse

* - Only show active devices in browse
- Refactor some stations APIs to return more info about what stations were added/updated and how many recordings were matched, if any.
- Simpler get APIs for retrieving group devices, group users.

* Revert docker files

* Fix stations tests

* Python formatting

* Adding missing apidoc info

* All api listing commands will automatically return all results if the user is a super-admin
user.  This PR adds an optional "view-mode" query param to these APIs,
which, if set to "limited", will restrict results to items only directly viewable by the super-admin user.
This is then plumbed through to the various database queries generated.

This does not change any existing behaviour, as that is still the default.

* Fix comparison for retired stations in where clause.

* Fix viewAsSuperAdmin arg passing.

* Addressing review feedback

* Make bulk tagger deliver CPTV files instead of mp4 files.

* Fix query

* Grab correct file key

* Grab correct file key
  • Loading branch information
hardiesoft authored Apr 21, 2021
1 parent 7632923 commit e72764f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/Recording.ts
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ from (
(acc, item) => {
acc.RecordingId = item.RecordingId;
acc.DeviceId = item.DeviceId;
acc.fileKey = item.fileKey;
acc.fileKey = item.rawFileKey;
acc.fileMimeType = item.rawMimeType;
acc.recordingDateTime = item.recordingDateTime;
acc.duration = item.duration;
Expand Down

0 comments on commit e72764f

Please sign in to comment.