Skip to content

Commit

Permalink
Merge branch 'release/v0.9.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
JuanM04 committed Jan 26, 2020
2 parents 1a74f26 + d6edebc commit 5ea3317
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/services/requests.dart
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ class RequestsService {
options: Options(contentType: 'text/plain'),
);

return response.data;
return response.data['file'];
} catch (e, s) {
ErrorService.report(e, s);
return null;
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ description: Ver anime sin complicaciones.
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 0.9.0
version: 0.9.1

environment:
sdk: ">=2.6.0 <3.0.0"
Expand Down
2 changes: 1 addition & 1 deletion web/api/get-natsuki.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ import cloudscraper from "cloudscraper";
export default (req: NowRequest, res: NowResponse) => {
cloudscraper
.get(req.body.replace("embed.php", "check.php"))
.then(data => res.send(JSON.parse(data).file));
.then(data => res.send(JSON.parse(data)));
};

0 comments on commit 5ea3317

Please sign in to comment.