Skip to content

Commit 4ffd2f2

Browse files
Merge pull request #815 from inplayer-org/plans-methods
Search string for `InPlayer.Payment.getSitePlans` appended without `?`
2 parents 49a9da9 + 524f702 commit 4ffd2f2

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
# [3.13.26] - 19-06-2024
6+
7+
### Fixes
8+
9+
- Search string for `InPlayer.Payment.getSitePlans` appended without `?`
10+
511
# [3.13.25] - 17-06-2024
612

713
### Added

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@inplayer-org/inplayer.js",
3-
"version": "3.13.25",
3+
"version": "3.13.26",
44
"author": "InPlayer",
55
"license": "MIT",
66
"description": "A Javascript SDK for Inplayer's RESTful API",

src/constants/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export const API = {
113113
getSitePlans: (siteId: string, plansIds: string[] = []) =>
114114
`/v3/sites/${siteId}/plans${
115115
plansIds.length
116-
? `q=id:(${plansIds.map((planId) => `"${planId}"`).join(' OR ')})`
116+
? `?q=id:(${plansIds.map((planId) => `"${planId}"`).join(' OR ')})`
117117
: ''
118118
}`,
119119

0 commit comments

Comments
 (0)