[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] branch master updated: addressing #7769
From: |
gnunet |
Subject: |
[libeufin] branch master updated: addressing #7769 |
Date: |
Mon, 20 Mar 2023 16:23:20 +0100 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository libeufin.
The following commit(s) were added to refs/heads/master by this push:
new da28f823 addressing #7769
da28f823 is described below
commit da28f823688911eb41ca004ba637f0cb8f171f1d
Author: ms <ms@taler.net>
AuthorDate: Mon Mar 20 16:23:16 2023 +0100
addressing #7769
---
nexus/src/main/kotlin/tech/libeufin/nexus/server/NexusServer.kt | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/server/NexusServer.kt
b/nexus/src/main/kotlin/tech/libeufin/nexus/server/NexusServer.kt
index 058f944f..ebe002fc 100644
--- a/nexus/src/main/kotlin/tech/libeufin/nexus/server/NexusServer.kt
+++ b/nexus/src/main/kotlin/tech/libeufin/nexus/server/NexusServer.kt
@@ -557,7 +557,9 @@ val nexusApp: Application.() -> Unit = {
(NexusScheduledTasksTable.resourceId eq accountId)
}.firstOrNull()
- oldSchedTask?.delete()
+ if (oldSchedTask == null)
+ throw notFound("Task $taskId is not found.")
+ oldSchedTask.delete()
}
call.respond(object {})
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libeufin] branch master updated: addressing #7769,
gnunet <=