Skip to content

Commit

Permalink
SEBMAC-556 Improvement of user ID resolution resp. handshake completi…
Browse files Browse the repository at this point in the history
…on with SEB-Server:

Now generic exam systems are supported with SEB Server.
  • Loading branch information
danschlet committed Aug 19, 2024
1 parent d4239a8 commit 6208692
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Classes/WebServices/APIResources.swift
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ struct HandshakeUpdateResource: ApiResource {
var baseURL: URL
var queryParameters: [String]
let methodPath: String
let httpMethod = "PATCH"
let httpMethod = "PUT"
var body = ""

init(baseURL: URL, endpoint: String) {
Expand Down Expand Up @@ -202,7 +202,7 @@ struct HandshakeCloseResource: ApiResource {
var baseURL: URL
var queryParameters: [String]
let methodPath: String
let httpMethod = "PUT"
let httpMethod = "PATCH"
var body = ""

init(baseURL: URL, endpoint: String) {
Expand Down
6 changes: 1 addition & 5 deletions Classes/WebServices/SEBServerController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -435,11 +435,7 @@ public extension SEBServerController {
@objc func examSelected(_ examId: String, url: String) {
selectedExamId = examId
selectedExamURL = url
if exam == nil {
updateConnectionHandshake()
} else {
getExamConfig()
}
updateConnectionHandshake()
}


Expand Down

0 comments on commit 6208692

Please sign in to comment.