public long addVaspAccount()

in src/main/java/org/openvasp/core/service/VaspService.java [19:28]


    public long addVaspAccount(VaspAccount account){
        try {
            VaspAccount vaspAccount = getVaspAccount(account.getLogin());
        } catch (NoResultException e) {
            account.setAccountNumber(Lnurl.getRandomHexString(34));
            persistAccount(account);
            return account.getId();
        }
        throw new RuntimeException("Account " + account.getLogin() + " already exists!");
    }