Skip to content

Commit a172dda

Browse files
committed
Update InteractsWithAPI.php
Fix getEndPointKey Error
1 parent 3b66060 commit a172dda

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)