|
@ -74,6 +74,7 @@ |
|
|
}); |
|
|
}); |
|
|
if (response.ok) { |
|
|
if (response.ok) { |
|
|
blockedUsers.push(target); |
|
|
blockedUsers.push(target); |
|
|
|
|
|
blockedUsers = blockedUsers |
|
|
await show_popup("User blocked", false); |
|
|
await show_popup("User blocked", false); |
|
|
} else { |
|
|
} else { |
|
|
const error = await response.json(); |
|
|
const error = await response.json(); |
|
|