Skip to content

Commit 93b5721

Browse files
yeheeAlice Kimvinay-google
authored
chore: Update variable names for the sample scripts (#1072)
* feat: update GAPIC ssamples to be featured in custom emoji guide * feat: update GAPIC ssamples to be featured in custom emoji guide * feat: update GAPIC ssamples to be featured in custom emoji guide * feat: update GAPIC ssamples to be featured in custom emoji guide * feat: update GAPIC ssamples to be featured in custom emoji guide * feat: update versions for dependencies - open - google-auth-library - @google-apps/chat - @grpc/grpc-js * Apply suggestions from code review Co-authored-by: Vinay Vyas <69166360+vinay-google@users.noreply.github.com> * Update create-custom-emoji-user-cred.js * Update delete-custom-emoji-user-cred.js * Update get-custom-emoji-user-cred.js * Update delete-custom-emoji-user-cred.js * Update get-custom-emoji-user-cred.js * Update get-custom-emoji-user-cred.js * Update delete-custom-emoji-user-cred.js --------- Co-authored-by: Alice Kim <kalice@google.com> Co-authored-by: Vinay Vyas <69166360+vinay-google@users.noreply.github.com>
1 parent 6731dbc commit 93b5721

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

chat/client-libraries/cloud/create-custom-emoji-user-cred.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ async function main() {
3636
const request = {
3737
custom_emoji: {
3838
// TODO(developer): Replace EMOJI_NAME here.
39-
emoji_name: ":EMOJI_NAME:",
39+
emoji_name: "EMOJI_NAME",
4040
payload: {
4141
file_content: fileContent,
4242
filename: filename,

chat/client-libraries/cloud/delete-custom-emoji-user-cred.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ async function main() {
2828

2929
// Initialize request argument(s)
3030
const request = {
31-
// TODO(developer): Replace CUSTOM_EMOJI_NAME here.
32-
name: 'customEmojis/CUSTOM_EMOJI_NAME'
31+
// TODO(developer): Replace EMOJI_NAME here.
32+
name: 'customEmojis/EMOJI_NAME'
3333
};
3434

3535
// Make the request

chat/client-libraries/cloud/get-custom-emoji-user-cred.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ async function main() {
2828

2929
// Initialize request argument(s)
3030
const request = {
31-
// TODO(developer): Replace CUSTOM_EMOJI_NAME here
32-
name: 'customEmojis/CUSTOM_EMOJI_NAME'
31+
// TODO(developer): Replace EMOJI_NAME here
32+
name: 'customEmojis/EMOJI_NAME'
3333
};
3434

3535
// Make the request

0 commit comments

Comments
 (0)