Update Compose Apis, refactor rate limits

This commit is contained in:
Daniel Supernault 2021-03-01 20:58:35 -07:00
parent f3a2b354db
commit 42375b3d79
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7
5 changed files with 74 additions and 8 deletions

View file

@ -818,6 +818,13 @@ export default {
self.page = 2;
break;
case 429:
self.uploading = false;
io.value = null;
swal('Limit Reached', 'You can upload up to 250 photos or videos per day and you\'ve reached that limit. Please try again later.', 'error');
self.page = 2;
break;
default:
self.uploading = false;
io.value = null;