diff --git a/api/admin/promote-user.js b/api/admin/promote-user.js index 02e3140..3dc85c1 100644 --- a/api/admin/promote-user.js +++ b/api/admin/promote-user.js @@ -11,6 +11,9 @@ export default async function handler(req, res) { } try { + console.log('Request body type:', typeof req.body); + console.log('Request body:', req.body); + const { username, userId } = req.body; if (!username && !userId) {