Updated the put methods and cleaned up a shitload of comments #42

Merged
niggl merged 32 commits from feature/39-update_puts into dev 2020-12-21 16:39:21 +00:00
Showing only changes of commit c1d784e29c - Show all commits

View File

@ -13,7 +13,7 @@ export class PermissionNotFoundError extends NotFoundError {
} }
/** /**
* Error to throw when two permission' ids don't match. * Error to throw when two permissions' ids don't match.
* Usually occurs when a user tries to change a permission's id. * Usually occurs when a user tries to change a permission's id.
*/ */
export class PermissionIdsNotMatchingError extends NotAcceptableError { export class PermissionIdsNotMatchingError extends NotAcceptableError {
@ -21,11 +21,11 @@ export class PermissionIdsNotMatchingError extends NotAcceptableError {
name = "PermissionIdsNotMatchingError" name = "PermissionIdsNotMatchingError"
@IsString() @IsString()
message = "The id's don't match!! \n And if you wanted to change a permission's id: This isn't allowed" message = "The id's don't match!! \n And if you wanted to change a permission's id: This isn't allowed!"
} }
/** /**
* Error to throw when a permission get's provided without a principal. * Error to throw when a permission gets provided without a principal.
*/ */
export class PermissionNeedsPrincipalError extends NotAcceptableError { export class PermissionNeedsPrincipalError extends NotAcceptableError {
@IsString() @IsString()