Skip to content

Commit 4e7926e

Browse files
getdp for privacy error
Signed-off-by: Prince Mendiratta <[email protected]>
1 parent fd5a3a7 commit 4e7926e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/getdp.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ module.exports = {
3232
);
3333
return
3434
} catch (err) {
35-
if (err.status == 404) {
35+
if (err.status == 404 || err.status == 401) {
3636
await client.sendMessage(
3737
BotsApp.chatId,
3838
fs.readFileSync("./images/default_dp.png"),

0 commit comments

Comments
 (0)