Skip to content

Commit

Permalink
Dump with indentation. For some reason that fixes the read problems w…
Browse files Browse the repository at this point in the history
…ith secret store
  • Loading branch information
gnunicorn committed Jul 18, 2024
1 parent cb30953 commit cfe44e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flutter_secure_storage_linux/linux/include/Secret.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class SecretStorage {
bool deleteKeyring() { return this->storeToKeyring(nlohmann::json()); }

bool storeToKeyring(nlohmann::json value) {
const std::string output = value.dump();
const std::string output = value.dump(0);
g_autoptr(GError) err = nullptr;
bool result = secret_password_storev_sync(
&the_schema, m_attributes.getGHashTable(), nullptr, label.c_str(),
Expand Down

0 comments on commit cfe44e6

Please sign in to comment.