Skip to content

Commit 07a78be

Browse files
committed
deploy to newspace2
1 parent 08e1dd6 commit 07a78be

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/php-build-and-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
id: meta
3636
uses: docker/metadata-action@v5
3737
with:
38-
images: ${{ secrets.REGISTRY_LOGIN_SERVER }}/newspace2_7
38+
images: ${{ secrets.REGISTRY_LOGIN_SERVER }}/newspace2_8
3939
flavor: |
4040
latest=false
4141
tags: |

app/Services/Helpers.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ public static function addShiftsSpaces($shifts)
117117
public static function mapSoldierShifts($shifts, $inParallel)
118118
{
119119
return $shifts->filter(fn (Shift $shift) => $inParallel
120-
? $shift->task->kind == TaskKind::INPARALLEL->value
121-
: $shift->task->kind != TaskKind::INPARALLEL->value)
120+
? $shift?->task?->kind == TaskKind::INPARALLEL->value
121+
: $shift?->task?->kind != TaskKind::INPARALLEL->value)
122122
->map(fn (Shift $shift): ShiftService => Helpers::buildShift($shift));
123123
}
124124

0 commit comments

Comments
 (0)