Skip to content

Commit

Permalink
Merge pull request #5 from ticktackk/develop
Browse files Browse the repository at this point in the history
1.0.1
  • Loading branch information
ticktackk authored Jun 14, 2020
2 parents 5b4e856 + e9edd2f commit 603bc3c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
CHANGELOG
==========================

## 1.0.1 (`1000170`)

- **Fix:** Errors from avatar service are not correctly returned (#4)

## 1.0.0 (`1000070`)

First release.
2 changes: 1 addition & 1 deletion XF/Pub/Controller/Account.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function actionAvatar()

if (!$avatarService->setImage($tempFile))
{
throw $this->exception($avatarService->getError());
throw $this->exception($this->error($avatarService->getError()));
}

if (!$avatarService->updateAvatar())
Expand Down
4 changes: 2 additions & 2 deletions addon.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"legacy_addon_id": "",
"title": "Upload Avatar From URL",
"description": "This add-on allows users with permission to upload avatar from URL.",
"version_id": 1000070,
"version_string": "1.0.0",
"version_id": 1000170,
"version_string": "1.0.1",
"dev": "TickTackk",
"dev_url": "https://xenforo.com/community/members/ticktackk.90375/",
"faq_url": "",
Expand Down

0 comments on commit 603bc3c

Please sign in to comment.