Skip to content

Commit

Permalink
Update keys
Browse files Browse the repository at this point in the history
  • Loading branch information
dri94 committed Mar 20, 2023
1 parent 39b2051 commit 0ebc3c4
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions swiftplugin/swiftplugin/swiftplugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,24 +18,18 @@ class SwiftPluginXBlock(
"""

reference_id = String(
default="assignment-2",
default="assignment-id",
scope=Scope.settings,
help="Problem id used by the Api to check the code"
)

api_url_run = String(
default="http://0.0.0.0:8080/run",
scope=Scope.content,
help="URL api used to run the code (run code by api)"
)

api_url_assignment = String(
api_url = String(
default="http://0.0.0.0:3000/assignment",
scope=Scope.content,
help="URL api used to submit the assignment"
)

api_run_key = String(
api_key = String(
default="password",
scope=Scope.content,
help="Key to send to API",
Expand Down

0 comments on commit 0ebc3c4

Please sign in to comment.