Skip to content

Commit

Permalink
Merge pull request #985 from trbKnl/storage-local-fs-fx
Browse files Browse the repository at this point in the history
Fix: Donations are not stored by store in builtin/local_fs.ex
  • Loading branch information
mellelieuwes authored Oct 23, 2024
2 parents 067520c + 69fc628 commit 22d431e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/systems/storage/builtin/local_fs.ex
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ defmodule Systems.Storage.BuiltIn.LocalFS do
use CoreWeb, :verified_routes

@impl true
def store(folder, identifier, data) do
filename = Enum.join(identifier, "_") <> ".json"
def store(folder, filename, data) do
folder_path = get_full_path(folder)
File.mkdir(folder_path)
file_path = Path.join(folder_path, filename)
Expand Down

0 comments on commit 22d431e

Please sign in to comment.