You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_info: 'WARNING: This endpoint is subject to change in the future. This response will contain a "_warning" field (please add logging for it or join my Discord server https://sprax.me/discord for a notification).',
Copy file name to clipboardExpand all lines: src/utils/ApiErrs.ts
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,7 @@ export default class ApiErrs {
17
17
staticreadonlyINVALID_REDIRECT_URI_FOR_APP: ApiErrTemplate={httpCode: 400,message: 'Invalid redirect_uri - Please contact the administrator of the page that sent you here',logErr: false};
this.pool.query(`DELETE FROM alternate_otps WHERE account =$1 AND code_prefix =$2 AND code =$3 AND issued >= CURRENT_TIMESTAMP - INTERVAL '5 MINUTES' RETURNING *;`,[mcUUID,otpPrefix,otp],(err,res)=>{
0 commit comments