Updated wrapper

This commit is contained in:
Pablo Ferreiro 2022-01-14 18:00:23 +01:00
parent 9a2704b2af
commit ed0e42a82c
No known key found for this signature in database
GPG key ID: 41FBCE65B779FA24
2 changed files with 9 additions and 6 deletions

8
composer.lock generated
View file

@ -310,12 +310,12 @@
"source": {
"type": "git",
"url": "https://github.com/pablouser1/TikTok-API-PHP.git",
"reference": "1bd0831149d385697c2d7c4d1575efe03e0e713b"
"reference": "71d758f069cfc5348f5d311b177caa2232488d96"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/pablouser1/TikTok-API-PHP/zipball/1bd0831149d385697c2d7c4d1575efe03e0e713b",
"reference": "1bd0831149d385697c2d7c4d1575efe03e0e713b",
"url": "https://api.github.com/repos/pablouser1/TikTok-API-PHP/zipball/71d758f069cfc5348f5d311b177caa2232488d96",
"reference": "71d758f069cfc5348f5d311b177caa2232488d96",
"shasum": ""
},
"require": {
@ -357,7 +357,7 @@
"issues": "https://github.com/ssovit/TikTok-API-PHP/issues",
"email": "sovit.tamrakar@gmail.com"
},
"time": "2022-01-13T16:05:07+00:00"
"time": "2022-01-14T16:59:51+00:00"
},
{
"name": "steampixel/simple-php-router",

View file

@ -10,8 +10,11 @@
</div>
<div class="hero-body">
<div class="container">
<p class="title">API errror code {$error->tiktok_code}</p>
<p class="subtitle">{$error->tiktok_msg}</p>
<p class="title">There was an error processing your request!</p>
<p class="subtitle">HTTP Code: {$error->http_code}</p>
{if $error->tiktok_code}
<p class="subtitle">API error code {$error->tiktok_code} ({$error->tiktok_msg})</p>
{/if}
</div>
</div>
<div class="hero-foot is-danger">