fix comments in server/*/create_company.rs

This commit is contained in:
ayham 2021-07-17 10:33:22 +03:00
parent 5f58c9138f
commit e675b8648f
Signed by: ayham
GPG Key ID: EAB7F5A9DF503678
1 changed files with 2 additions and 0 deletions

View File

@ -4,8 +4,10 @@ use crate::common::misc::return_flags::ReturnFlags;
/// Creates a company on the postgres SQL database.
///
/// Takes in a company and writes an entry in public.companies.
/// Should be used in Async contexts.
///
/// Arguments:
/// sql_conn - The SQL connection to use.
/// company - The company to create.
///
/// Returns: the company, a string containing reason of failure on error.