Skip to content

Commit

Permalink
change saving attribute from name to xml_id
Browse files Browse the repository at this point in the history
  • Loading branch information
temaotl committed Jul 8, 2024
1 parent fa6a79e commit 753bfed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Traits/FederationTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ public function updateFederationFolders(): void
$federations = Federation::select('name')->get();

foreach ($federations as $fed) {
if (! Storage::disk(config('storageCfg.name'))->exists($fed['name'])) {
$this->createFederationFolder($fed['name']);
if (! Storage::disk(config('storageCfg.name'))->exists($fed['xml_id'])) {
$this->createFederationFolder($fed['xml_id']);
}
}
}
Expand Down

0 comments on commit 753bfed

Please sign in to comment.