Skip to content

Commit 7a12959

Browse files
authored
Merge pull request #56 from kishan93/fix/scripts-api-endpoint-invalid
fixed typo on ScriptsApi endpoint constants
2 parents 7e5bed4 + 8b0c480 commit 7a12959

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/BigCommerce/Api/Scripts/ScriptsApi.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ class ScriptsApi extends UuidResourceApi
2020
use UpdateResource;
2121
use CreateResource;
2222

23-
private const SCRIPT_ENDPOINT = 'content/scripts';
24-
private const SCRIPTS_ENDPOINT = 'content/scripts/%s';
23+
private const SCRIPT_ENDPOINT = 'content/scripts/%s';
24+
private const SCRIPTS_ENDPOINT = 'content/scripts';
2525

2626
public function get(): ScriptResponse
2727
{

0 commit comments

Comments
 (0)