WIP PWA for Grain
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: add focus parameter to createComment mutation

+5 -1
+5 -1
src/services/mutations.js
··· 100 100 return update; 101 101 } 102 102 103 - async createComment(galleryUri, text, replyToUri = null) { 103 + async createComment(galleryUri, text, replyToUri = null, focusUri = null) { 104 104 const client = auth.getClient(); 105 105 const input = { 106 106 subject: galleryUri, ··· 110 110 111 111 if (replyToUri) { 112 112 input.replyTo = replyToUri; 113 + } 114 + 115 + if (focusUri) { 116 + input.focus = focusUri; 113 117 } 114 118 115 119 const result = await client.mutate(`