Skip to content

Refactor createAccount #51

@shiryz

Description

@shiryz

The code should be using the capabilities of SQL to update the table and check for duplicate keys and you wouldn't have to iterate over the names with a for loop (why aren't you using forEach?).
You shouldn't check the existence of a key manually,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions