Skip to content

Commit 0a94014

Browse files
committed
LL-1080
1 parent 19d9f5f commit 0a94014

File tree

4 files changed

+424
-425
lines changed

4 files changed

+424
-425
lines changed

serv/ss-datatypes/ss-learn-ep/ss-learn-ep-impl/src/main/java/at/kc/tugraz/ss/serv/datatypes/learnep/impl/fct/sql/SSLearnEpSQLFct.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -924,12 +924,11 @@ public void removeLearnEpForUser(
924924

925925
try{
926926
final Map<String, String> wheres = new HashMap<>();
927-
final Map<String, String> deletes = new HashMap<>();
928927

929928
delete(wheres, SSSQLVarU.learnEpId, learnEp);
930929
delete(wheres, SSSQLVarU.userId, user);
931930

932-
dbSQL.delete(learnEpUserTable, deletes);
931+
dbSQL.delete(learnEpUserTable, wheres);
933932

934933
}catch(Exception error){
935934
SSServErrReg.regErrThrow(error);

ss-adapter/ss-adapter-rest-v1/src/main/webapp/api-docs/SSAdapterRESTFileDownload.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,25 @@
44
"basePath" : "http://localhost:8080/ss-adapter-rest",
55
"resourcePath" : "/SSAdapterRESTFileDownload",
66
"apis" : [ {
7+
"path" : "/fileDownload",
8+
"operations" : [ {
9+
"method" : "POST",
10+
"summary" : "download a file via POST request",
11+
"notes" : "",
12+
"type" : "string",
13+
"format" : "byte",
14+
"nickname" : "fileDownload",
15+
"produces" : [ "application/octet-stream" ],
16+
"consumes" : [ "application/json" ],
17+
"parameters" : [ {
18+
"name" : "body",
19+
"required" : false,
20+
"type" : "SSFileDownloadPar",
21+
"paramType" : "body",
22+
"allowMultiple" : false
23+
} ]
24+
} ]
25+
}, {
726
"path" : "/fileDownloadGET",
827
"operations" : [ {
928
"method" : "GET",
@@ -34,25 +53,6 @@
3453
"allowMultiple" : false
3554
} ]
3655
} ]
37-
}, {
38-
"path" : "/fileDownload",
39-
"operations" : [ {
40-
"method" : "POST",
41-
"summary" : "download a file via POST request",
42-
"notes" : "",
43-
"type" : "string",
44-
"format" : "byte",
45-
"nickname" : "fileDownload",
46-
"produces" : [ "application/octet-stream" ],
47-
"consumes" : [ "application/json" ],
48-
"parameters" : [ {
49-
"name" : "body",
50-
"required" : false,
51-
"type" : "SSFileDownloadPar",
52-
"paramType" : "body",
53-
"allowMultiple" : false
54-
} ]
55-
} ]
5656
} ],
5757
"models" : {
5858
"SSFileDownloadPar" : {

0 commit comments

Comments
 (0)