Skip to content

Commit 936ae34

Browse files
committed
Bug Fix SecNtfy Url
• Fixed incorrect SecNtfy Url #49 • Changed Build Scripts
1 parent f0cbd08 commit 936ae34

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/dotnet.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ jobs:
3939
name: ${{ matrix.target }}
4040
path: ${{ matrix.release_name }}
4141
- name: Archive binaries
42+
if: startsWith(github.ref, 'refs/tags/v')
4243
uses: thedoctor0/zip-release@master
4344
with:
4445
filename: ${{ matrix.release_name }}.zip
@@ -68,6 +69,7 @@ jobs:
6869
tag_name: ${{ steps.infos.outputs.version }}
6970
release_name: Release ${{ steps.infos.outputs.version }}
7071
- name: Get Release URL
72+
if: startsWith(github.ref, 'refs/tags/v')
7173
id: get-release-url
7274
uses: jossef/[email protected]
7375
env:
@@ -157,7 +159,6 @@ jobs:
157159
# slug: androidseb25/iGotify-Notification-Assistent
158160

159161
- name: Upload Binaries ${{ matrix.target }}
160-
if: startsWith(github.ref, 'refs/tags/v')
161162
uses: actions/upload-artifact@v4
162163
with:
163164
name: ${{ matrix.target }}

Controller/DeviceController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ public async Task<IActionResult> DeleteDevcice(string token)
8585
GotifySocketService gss = GotifySocketService.getInstance();
8686
gss.KillWsThread(usr.ClientToken);
8787
}
88+
8889
result = "Gerät erfolgreich gelöscht";
89-
9090
resultBool = true;
9191
} else {
9292
result = "Fehler beim löschen des Gerätes!";

0 commit comments

Comments
 (0)