Commit 00c98e05 authored by jan.koester's avatar jan.koester
Browse files

test

parent 4e981377
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2048,6 +2048,7 @@ namespace authdb {
                        if (isJson) {
                            try {
                                ::uuid::uuid domainDid;
                                AuthBackend::Guard guard(_AdminBackend, AuthBackend::Shared);
                                if (domBuf[0] && strcmp(domBuf, "admin") != 0) {
                                    // Try parsing as UUID first, fall back to name lookup
                                    domainDid = ::uuid::uuid(domBuf);
@@ -2059,7 +2060,6 @@ namespace authdb {
                                                       std::string(domBuf), domainDid);
                                    }
                                }
                                AuthBackend::Guard guard(_AdminBackend, AuthBackend::Shared);
                                ApiController(_AdminBackend, domainDid, curreq, tid, args);
                            } catch (AuthBackendError &e) {
                                json_object *jerr = json_object_new_array();