mirror of
https://github.com/zitadel/zitadel.git
synced 2025-10-24 13:18:59 +00:00
fix: token check and error unwrapping (#3648)
* fix: token check and error unwrapping * remove unused code
This commit is contained in:
@@ -38,3 +38,7 @@ func IsErrorAlreadyExists(err error) bool {
|
||||
_, ok := err.(AlreadyExists)
|
||||
return ok
|
||||
}
|
||||
|
||||
func (err *AlreadyExistsError) Unwrap() error {
|
||||
return err.CaosError
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user