Skip to content

Commit

Permalink
fix: fix the adorable url migration (again) (#4964)
Browse files Browse the repository at this point in the history
  • Loading branch information
asbiin authored Mar 15, 2021
1 parent ed2b3b7 commit 5894065
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 35 deletions.
1 change: 1 addition & 0 deletions app/Models/Contact/Contact.php
Original file line number Diff line number Diff line change
Expand Up @@ -1043,6 +1043,7 @@ public function getAvatarAdorableUrlAttribute(?string $value): ?string
{
if (isset($value) && $value !== '') {
return Str::of($value)
->after('https://api.adorable.io/avatars/')
->ltrim('/')
->start(Str::finish(config('monica.adorable_api'), '/'));
}
Expand Down
35 changes: 0 additions & 35 deletions database/migrations/2021_01_10_235601_update_adorable_api.php

This file was deleted.

0 comments on commit 5894065

Please sign in to comment.