feat: Include org filter when requesting LTI providers (#1114)
* feat: Include org filter when requesting LTI providers * chore: Created silent version for CI testing to avoid log flooding
This commit is contained in:
@@ -15,9 +15,9 @@ class ExamsApiService {
|
||||
return `${ExamsApiService.getExamsBaseUrl()}/api/v1/configs/course_id/${courseId}`;
|
||||
}
|
||||
|
||||
static getAvailableProviders() {
|
||||
static getAvailableProviders(org) {
|
||||
const apiClient = getAuthenticatedHttpClient();
|
||||
const providersUrl = `${ExamsApiService.getExamsBaseUrl()}/api/v1/providers`;
|
||||
const providersUrl = `${ExamsApiService.getExamsBaseUrl()}/api/v1/providers${org ? `?org=${org}` : ''}`;
|
||||
return apiClient.get(providersUrl);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user