Adapt to API/ABI change in libyang-cpp

Depends-on: https://gerrit.cesnet.cz/c/CzechLight/dependencies/+/6717
Change-Id: I914baa2470c9f6c6ff86a16551108aea4a0d822c
diff --git a/src/yang_schema.cpp b/src/yang_schema.cpp
index 2f046c7..4209b2a 100644
--- a/src/yang_schema.cpp
+++ b/src/yang_schema.cpp
@@ -93,7 +93,7 @@
         }
     }
     try {
-        return m_context.findPath(node, libyang::OutputNodes::Yes);
+        return m_context.findPath(node, libyang::InputOutputNodes::Output);
     } catch (libyang::ErrorWithCode& err) {
         if (err.code() != libyang::ErrorCode::ValidationFailure) {
             throw;