-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes MAT-633 Additionally fix an issue with thumbnail_url for dev Test Plan: - Checkout the associated canvas-lms commit (ask Weston) - In Canvas, open the buttons and icons tray - Navigate to the "Image" section - Choose "Course Images" > Verify previously created buttons and icons do not appear in the list of images Change-Id: Ib8e6b6ec2b5bae58d799eae75bf190e16c0bc4d7 Reviewed-on: https://gerrit.instructure.com/c/canvas-rce-api/+/283765 Tested-by: Service Cloud Jenkins <[email protected]> Reviewed-by: Jacob DeWar <[email protected]> QA-Review: Jacob DeWar <[email protected]> Product-Review: Weston Dransfield <[email protected]>
- Loading branch information
Showing
5 changed files
with
97 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
"use strict"; | ||
|
||
function optionalQuery(query, name) { | ||
return query[name] ? `&${name}=${query[name]}` : ""; | ||
} | ||
|
||
module.exports = { optionalQuery }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters