From 718d573f8adb1d63310b923e3dfe6275d25f5f25 Mon Sep 17 00:00:00 2001 From: vincent Date: Mon, 21 Jun 2021 22:32:15 +0200 Subject: [PATCH] remove old error codez --- ITPlanning/api/exception.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/ITPlanning/api/exception.py b/ITPlanning/api/exception.py index 70a39f5..9c259a0 100644 --- a/ITPlanning/api/exception.py +++ b/ITPlanning/api/exception.py @@ -28,13 +28,11 @@ class ServerError(ITPlanningAPIException): class Unauthorized(ITPlanningAPIException): code = 401 - api_code = 40 message = "Wrong username or password." class Forbidden(ITPlanningAPIException): code = 403 - api_code = 50 message = "User is not authorized for the given operation."