fix: Storage load after backend is created (#71)

🎉 Merged! Thank you so much, @GuanZitong!

This is exactly the kind of contribution that helps Floci grow — your work is genuinely appreciated.

If you're up for it, there's plenty more to dig into:
- 👀 Check out the open issues — some are tagged as good first steps for contributors
- 💬 If you have ideas or ran into something while working on this, feel free to open an issue or start a discussion
- 🔧 PRs for documentation, tests, and bug fixes are always welcome

Hoping to see your name pop up again soon. Welcome to the Floci community! 🙌
This commit is contained in:
GuanZitong authored and GitHub committed 2026-03-25 10:13:32 -05:00
1 parent 8a8d55d972
commit c95dd1068e
1 file changed
+3
@@ -65,6 +65,9 @@ public class StorageFactory {
default -> throw new IllegalArgumentException("Unknown storage mode: " + mode);
};
// load because loadAll() may run before the service is initialized
backend.load();
allBackends.add(backend);
return backend;
}