Skip to content

Commit

Permalink
change identifier structure (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
mszulik authored Oct 23, 2023
1 parent 396dac6 commit 23aa776
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Media.php
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ public function getClientResponseFromResponse(Response $response): array
*/
public function getIdentifier(): string
{
return sprintf('%s-%s-%s', $this->model->getTransmorpherAlias(), $this->mediaName, $this->model->getKey());
return sprintf('%s-%s-%s', $this->model->getTransmorpherAlias(), $this->model->getKey(), $this->mediaName);
}

/**
Expand Down

0 comments on commit 23aa776

Please sign in to comment.