An open-source cross-platform alternative to AirDrop
chore: reformat
Tien Do Nam6cf915f44848
diff --git a/app/lib/provider/network/server/controller/common.dart b/app/lib/provider/network/server/controller/common.dartindex 5779addf..7be0da9a 100644--- a/app/lib/provider/network/server/controller/common.dart+++ b/app/lib/provider/network/server/controller/common.dart@@ -20,7 +20,8 @@ Response? handlePin({if (requestPin?.isNotEmpty ?? false) {pinAttempts[request.ip] = attempts + 1;- if (attempts == 2) { // it was 2 before incrementing+ if (attempts == 2) {+ // it was 2 before incrementingreturn server.responseJson(429, message: 'Too many attempts.');}}