SpartaHack/SpartaHack-API

View on GitHub

Showing 160 of 183 total issues

Avoid too many return statements within this function.
Open

                return (internal_server_error, 500, headers)
Severity: Major
Found in resources/announcements.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

            return (internal_server_error, 500, headers)
Severity: Major
Found in resources/announcements.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

            return (internal_server_error, 500, headers)
Severity: Major
Found in resources/sessions.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

        return (ret, 200, headers)
Severity: Major
Found in resources/sessions.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

                return (not_found,404,headers)
Severity: Major
Found in resources/sponsors.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

                return (internal_server_error, 500, headers)
Severity: Major
Found in resources/applications.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

            return (internal_server_error, 500, headers)
Severity: Major
Found in resources/users.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

                    return (User_Schema().dump(user).data, 200, headers)
Severity: Major
Found in resources/users.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

            return (not_found, 404, headers)
Severity: Major
Found in resources/rsvps.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

                return (internal_server_error,500,headers)
Severity: Major
Found in resources/hardware.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

                return (conflict,409,headers)
Severity: Major
Found in resources/hardware.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

                return (internal_server_error,500,headers)
Severity: Major
Found in resources/sponsors.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

            return (forbidden, 403, headers)
Severity: Major
Found in resources/applications.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

                    return (forbidden,403,headers)
Severity: Major
Found in resources/checkin.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

            return ({"status": "Reset password token set at "+data["email"]}, 200, headers)
Severity: Major
Found in resources/users.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

                return (not_found, 404, headers)
Severity: Major
Found in resources/users.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

                return (internal_server_error, 500, headers)
Severity: Major
Found in resources/announcements.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

                return (conflict, 409, headers)
Severity: Major
Found in resources/faqs.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

            return (internal_server_error, 500, headers)
Severity: Major
Found in resources/rsvps.py - About 30 mins to fix

Avoid too many return statements within this function.
Open

            return (ret, 201, headers)
Severity: Major
Found in resources/applications.py - About 30 mins to fix
Severity
Category
Status
Source
Language