From a1d92bd754a178e59126dfce0377fcf4e9c7b3d0 Mon Sep 17 00:00:00 2001 From: adevezin Date: Tue, 4 Jul 2023 19:55:21 -0400 Subject: [PATCH] Switch api_url and api_key to Scope.settings --- swiftplugin/swiftplugin/swiftplugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/swiftplugin/swiftplugin/swiftplugin.py b/swiftplugin/swiftplugin/swiftplugin.py index 54af249..d040401 100644 --- a/swiftplugin/swiftplugin/swiftplugin.py +++ b/swiftplugin/swiftplugin/swiftplugin.py @@ -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", )