QPS Stats
This commit is contained in:
@@ -5,7 +5,10 @@ import {
|
||||
updateUsernameWithLimit,
|
||||
} from "../../../../libs/db";
|
||||
|
||||
import { addAPIQPS } from '../../../../libs/stats';
|
||||
|
||||
export default function handler(req, res) {
|
||||
addAPIQPS();
|
||||
// check if id is valid
|
||||
const { id } = req.query;
|
||||
if (id === undefined) {
|
||||
|
||||
Reference in New Issue
Block a user