1
0
Fork 0
mirror of https://git.sr.ht/~cadence/bibliogram synced 2026-03-01 18:31:35 +00:00

Add experimental assistant feature

This commit is contained in:
Cadence Ember 2020-04-07 18:30:00 +12:00
parent 160fa7d843
commit b22028aaa4
No known key found for this signature in database
GPG key ID: 128B99B1B74A6412
10 changed files with 236 additions and 3 deletions

View file

@ -78,7 +78,7 @@ module.exports = [
message: "This user doesn't exist.",
withInstancesLink: false
})
} else if (error === constants.symbols.INSTAGRAM_DEMANDS_LOGIN) {
} else if (error === constants.symbols.INSTAGRAM_DEMANDS_LOGIN || error === constants.symbols.RATE_LIMITED) {
return {
statusCode: 503,
contentType: "text/html",