Skip to content

Commit 8ba81a3

Browse files
committed
Update InteractsWithAPI.php
Fix getKeyForEndpoint Error
1 parent c5c9046 commit 8ba81a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Traits/InteractsWithAPI.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ public function getKey()
142142
public function getKeyForEndPoint()
143143
{
144144
if($this->hasKey()){
145-
return '/'.$this->getEndPoint();
145+
return '/'.$this->getKey();
146146
}
147147
return;
148148
}

0 commit comments

Comments
 (0)