Skip to content

Commit

Permalink
fixup! feat(coap-server): add support for URI variables
Browse files Browse the repository at this point in the history
  • Loading branch information
JKRhb committed Sep 11, 2023
1 parent 797b60e commit 6ef763e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/binding-coap/src/coap-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,8 @@ export default class CoapServer implements ProtocolServer {
affordanceName: string,
offeredMediaType: string,
opValues: string | string[],
affordanceUriVariables,
thingUriVariables
affordanceUriVariables: PropertyElement["uriVariables"] = {},
thingUriVariables: PropertyElement["uriVariables"] = {}
): [string, TD.Form] {
const href = this.createFormHref(
base,
Expand All @@ -260,8 +260,8 @@ export default class CoapServer implements ProtocolServer {
base: string,
affordancePathSegment: string,
affordanceName: string,
affordanceUriVariables,
thingUriVariables
affordanceUriVariables: PropertyElement["uriVariables"] = {},
thingUriVariables: PropertyElement["uriVariables"] = {}
) {
const affordanceNamePattern = Helpers.updateInteractionNameWithUriVariablePattern(
affordanceName,
Expand Down

0 comments on commit 6ef763e

Please sign in to comment.