about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-03-12 22:41:03 +0100
committerRory& <root@rory.gay>2025-03-12 22:41:36 +0100
commit7dd5062b727554c2f02906976973a136dc6c78c0 (patch)
tree2b4cc8a103fb9536225a17f1bdec4d1f4dacc1c2
parentSynapse admin tooling, well known res work (diff)
downloadMatrixUtils-7dd5062b727554c2f02906976973a136dc6c78c0.tar.xz
Fix storage
-rw-r--r--.gitmodules2
m---------LibMatrix0
-rw-r--r--MatrixUtils.Web/Classes/LocalStorageProviderService.cs2
-rw-r--r--MatrixUtils.Web/Classes/SessionStorageProviderService.cs2
4 files changed, 3 insertions, 3 deletions
diff --git a/.gitmodules b/.gitmodules

index 8cbedc0..487c63b 100644 --- a/.gitmodules +++ b/.gitmodules
@@ -1,6 +1,6 @@ [submodule "LibMatrix"] path = LibMatrix - url = https://git.rory.gay/matrix/LibMatrix.git + url = https://cgit.rory.gay/matrix/LibMatrix.git [submodule "MxApiExtensions"] path = MxApiExtensions url = https://cgit.rory.gay/matrix/tools/MxApiExtensions.git diff --git a/LibMatrix b/LibMatrix -Subproject 9659093fcd9745f7030418998ca1cf886ff820b +Subproject cacabe2b1a15bb7492e23d477ec653513e84d26 diff --git a/MatrixUtils.Web/Classes/LocalStorageProviderService.cs b/MatrixUtils.Web/Classes/LocalStorageProviderService.cs
index 3803a17..0e99cd4 100644 --- a/MatrixUtils.Web/Classes/LocalStorageProviderService.cs +++ b/MatrixUtils.Web/Classes/LocalStorageProviderService.cs
@@ -22,7 +22,7 @@ public class LocalStorageProviderService : IStorageProvider { async Task<bool> IStorageProvider.ObjectExistsAsync(string key) => await _localStorageService.ContainKeyAsync(key); - async Task<List<string>> IStorageProvider.GetAllKeysAsync() => (await _localStorageService.KeysAsync()).ToList(); + async Task<IEnumerable<string>> IStorageProvider.GetAllKeysAsync() => (await _localStorageService.KeysAsync()).ToList(); async Task IStorageProvider.DeleteObjectAsync(string key) => await _localStorageService.RemoveItemAsync(key); } diff --git a/MatrixUtils.Web/Classes/SessionStorageProviderService.cs b/MatrixUtils.Web/Classes/SessionStorageProviderService.cs
index ae0bb79..da169de 100644 --- a/MatrixUtils.Web/Classes/SessionStorageProviderService.cs +++ b/MatrixUtils.Web/Classes/SessionStorageProviderService.cs
@@ -22,7 +22,7 @@ public class SessionStorageProviderService : IStorageProvider { async Task<bool> IStorageProvider.ObjectExistsAsync(string key) => await _sessionStorageService.ContainKeyAsync(key); - async Task<List<string>> IStorageProvider.GetAllKeysAsync() => (await _sessionStorageService.KeysAsync()).ToList(); + async Task<IEnumerable<string>> IStorageProvider.GetAllKeysAsync() => (await _sessionStorageService.KeysAsync()).ToList(); async Task IStorageProvider.DeleteObjectAsync(string key) => await _sessionStorageService.RemoveItemAsync(key); }