Skip to content

Commit

Permalink
Switch api_url and api_key to Scope.settings
Browse files Browse the repository at this point in the history
  • Loading branch information
dri94 committed Jul 4, 2023
1 parent 1650c0c commit a1d92bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions swiftplugin/swiftplugin/swiftplugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ class SwiftPluginXBlock(

api_url = String(
default="http://localhost:3000/assignment",
scope=Scope.preferences,
scope=Scope.settings,
help="URL api used to submit the assignment"
)

api_key = String(
default="MjFmOGY3NTgtNGZiOC00NjJjLWFjMmMtODA2ZmViMDlmOWY0.WEpZUGhRa0JtT3ZzZ2c3bk15UGxvTkpyQmdTb1RhMGI=",
scope=Scope.preferences,
scope=Scope.settings,
help="Access Key to send to API",
)

Expand Down

0 comments on commit a1d92bd

Please sign in to comment.