Skip to content

Commit

Permalink
Removed the implementation for country specific did
Browse files Browse the repository at this point in the history
  • Loading branch information
shreybansod committed Sep 12, 2024
1 parent 27e49e3 commit 36e8e19
Showing 1 changed file with 2 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,19 +88,7 @@ public void uploadDid(byte[] content) {
}

@Override
public void uploadDid(String subContainer, byte[] content) {

String fileContent = new String(content, StandardCharsets.UTF_8);
try {
uploadFileToGitHub(configProperties.getDid().getGit().getOwner(),
configProperties.getDid().getGit().getWorkdir(),
configProperties.getDid().getGit().getPrefix() + "/"
+ subContainer + "/" + configProperties.getDid().getGit().getUrl(),
fileContent,
configProperties.getDid().getGit().getPat());
} catch (IOException e) {
log.error("Error occured while uploading a file to Github");
}
log.info("Upload successful");
public void uploadDid(String subContainer, byte[] content) {
// No implementation required
}
}

0 comments on commit 36e8e19

Please sign in to comment.