Skip to content

Commit

Permalink
Fixed to use query params as it should #15
Browse files Browse the repository at this point in the history
  • Loading branch information
thejhh committed Apr 24, 2022
1 parent 3ee7123 commit 76594da
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/controllers/HgHsBackendController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -467,15 +467,15 @@ export class HgHsBackendController {
defaultValue: ''
})
token: string,
@PathVariable('filter', {required: true})
@RequestParam('filter', RequestParamValueType.STRING)
filter = "",
@PathVariable('since', {required: true})
@RequestParam('since', RequestParamValueType.STRING)
since = "",
@PathVariable('full_state', {required: true})
@RequestParam('full_state', RequestParamValueType.STRING)
full_state = "",
@PathVariable('set_presence', {required: true})
@RequestParam('set_presence', RequestParamValueType.STRING)
set_presence = "",
@PathVariable('timeout', {required: true})
@RequestParam('timeout', RequestParamValueType.STRING)
timeout = ""
): Promise<ResponseEntity<ReadonlyJsonObject | {readonly error: string}>> {
try {
Expand Down

0 comments on commit 76594da

Please sign in to comment.