mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2025-05-06 11:32:59 +00:00
Merge branch 'main' of https://github.com/esiur/esiur-dotnet
This commit is contained in:
commit
2a29e7a21f
@ -375,10 +375,11 @@ public static class Warehouse
|
|||||||
|
|
||||||
public static async AsyncReply<IResource[]> Query(string path)
|
public static async AsyncReply<IResource[]> Query(string path)
|
||||||
{
|
{
|
||||||
var p = path.Trim().Split('/');
|
var p = path.Trim().TrimStart('/').Split('/');
|
||||||
IResource resource;
|
IResource resource;
|
||||||
|
|
||||||
foreach (var store in stores.Keys)
|
foreach (var store in stores.Keys)
|
||||||
|
{
|
||||||
if (p[0] == store.Instance.Name)
|
if (p[0] == store.Instance.Name)
|
||||||
{
|
{
|
||||||
|
|
||||||
@ -407,8 +408,7 @@ public static class Warehouse
|
|||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user