Skip to content

Commit e672619

Browse files
authored
Fix path using double slash
1 parent 1871f7b commit e672619

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Mta.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public static function doReturn(...$arguments): void
9494
public function callFunction(string $resourceName, string $function, array $arguments = null): ?array
9595
{
9696
$json_output = $arguments? Translator::toServer($arguments) : '';
97-
$path = sprintf('/%s/call/%s', $resourceName, $function);
97+
$path = sprintf('%s/call/%s', $resourceName, $function);
9898
$result = $this->do_post_request($path, $json_output);
9999
$out = Translator::fromServer($result);
100100

0 commit comments

Comments
 (0)