Skip to content

Commit

Permalink
Pequeña refactorizacion y organizacion del codigo
Browse files Browse the repository at this point in the history
  • Loading branch information
leocaimmi committed May 25, 2024
1 parent c6b2890 commit e7ecef3
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 6 deletions.
4 changes: 3 additions & 1 deletion .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion FitAdmin/src/main/java/org/example/API/DropBoxAPI.java
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ private void iniciarCliente(String accessToken){
}
}catch (DbxException e)
{
JfrAutenticacionPopUp jfrAutenticacionPopUp= new JfrAutenticacionPopUp(this);
//JfrAutenticacionPopUp jfrAutenticacionPopUp= new JfrAutenticacionPopUp(this);
}


Expand Down
9 changes: 6 additions & 3 deletions FitAdmin/src/main/java/org/example/GUI/JfrAcceso.java
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,8 @@ private void BotonGenerarQRActionPerformed(java.awt.event.ActionEvent evt) {
if (clienteAux != null || idSocioSeleccionado != null)
{

try {
try
{
//intento entrar al api
dropBoxAPI=new DropBoxAPI();

Expand Down Expand Up @@ -284,9 +285,11 @@ private void BotonGenerarQRActionPerformed(java.awt.event.ActionEvent evt) {
}
catch (NullPointerException e)
{
System.out.println("No estamos conectados a la api por eso el cliente esta vacio");
JfrAutenticacionPopUp jfrAutenticacionPopUp = new JfrAutenticacionPopUp(dropBoxAPI);
// System.out.println("No estamos conectados a la api por eso el cliente esta vacio");
} catch (IOException e) {
System.out.println("Archivo roto");
//System.out.println("Archivo roto");
JfrErrorPopUp errorPopUp = new JfrErrorPopUp("Error con el archivo");
}
}
else
Expand Down
Binary file modified QRaGenerar.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion access_token.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sl.B15cQlPUpTNv9NvXob4o932r3TGi9fL2Dkdv8fKWYZMZFNgVO135cl8nfWxrc72y6W18atns1OP0ALr5jGNLXqiVH31y6-6tWwfnxV99bhLPairYJ5ns-92sUI_Vc9q70ctJaaAnIz49xkoPpaSE9B8
sl.B17sP4OXMJGxeyoEfoDoTGloj7TN6cBs1JYT89MRMhSO0V9qx6f4eCB329Wxfw-Z_nl--lzyK2PQhAjp-7auldU-Nmh6JZqG22zu76UJCZHC4mqOAX4FYDTGCOnLkbNmyiL21sA98p0uSb51vu7cnPg
Binary file modified qrCliente.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e7ecef3

Please sign in to comment.