Skip to content

Commit c863e75

Browse files
authored
Merge pull request googleworkspace#151 from labnol/patch-1
replaceMethod is deprecated
2 parents f70bf38 + d23b10f commit c863e75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

slides/api/Snippets.gs

+2-2
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ Snippets.prototype.imageMerging = function(templatePresentationId, imageUrl, cus
250250
var requests = [{
251251
replaceAllShapesWithImage: {
252252
imageUrl: logoUrl,
253-
replaceMethod: 'CENTER_INSIDE',
253+
imageReplaceMethod: 'CENTER_INSIDE',
254254
containsText: {
255255
text: '{{company-logo}}',
256256
matchCase: true
@@ -259,7 +259,7 @@ Snippets.prototype.imageMerging = function(templatePresentationId, imageUrl, cus
259259
}, {
260260
replaceAllShapesWithImage: {
261261
imageUrl: customerGraphicUrl,
262-
replaceMethod: 'CENTER_INSIDE',
262+
imageReplaceMethod: 'CENTER_INSIDE',
263263
containsText: {
264264
text: '{{customer-graphic}}',
265265
matchCase: true

0 commit comments

Comments
 (0)