Skip to content

Commit

Permalink
fix: fix for display name
Browse files Browse the repository at this point in the history
  • Loading branch information
shekhar16 committed Jul 14, 2022
1 parent 9123414 commit f48e531
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public boolean saveDocument(String name, String documentContent, Charset charset
oxDocument.setInum(documentService.generateInumForNewOxDocument());
String dn = "inum="+ oxDocument.getInum() +",ou=document,o=gluu";
oxDocument.setDn(dn);
oxDocument.setDescription("Testing the document saving");
oxDocument.setDescription(name);
oxDocument.setOxEnabled("true");
oxDocument.setOxModuleProperty("oxtrusr server");
documentService.addOxDocument(oxDocument);
Expand Down Expand Up @@ -121,8 +121,7 @@ public boolean saveDocumentStream(String name, InputStream documentStream) {
oxDocument.setInum(inum);
String dn = "inum="+ oxDocument.getInum() +",ou=document,o=gluu";
oxDocument.setDn(dn);
oxDocument.setDisplayName("Test");
oxDocument.setDescription("Testing the document saving");
oxDocument.setDescription(name);
oxDocument.setOxEnabled("true");
oxDocument.setOxModuleProperty("oxtrusr server");
documentService.addOxDocument(oxDocument);
Expand Down

0 comments on commit f48e531

Please sign in to comment.