parse int
This commit is contained in:
parent
0955fbd88e
commit
1e880cb95c
@ -71,7 +71,7 @@ export default function ReviewButtons(props: ReviewId) {
|
||||
try {
|
||||
// Fetch user roles
|
||||
const rolesResponse = await fetch("/api/session/roles");
|
||||
const rolesData = await rolesResponse.json();
|
||||
const rolesData = parseInt(await rolesResponse.text());
|
||||
|
||||
// Fetch submission status
|
||||
const statusResponse = await fetch(
|
||||
|
Loading…
x
Reference in New Issue
Block a user