File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ export const deleteNotificationsForUser = mutation({
189189
190190// e.g. pause sending notifications while the user is active in the app
191191export const pauseNotificationsForUser = mutation ( {
192- args : { userId : v . id ( "users" ) } ,
192+ args : { userId : v . string ( ) } ,
193193 returns : v . null ( ) ,
194194 handler : async ( ctx , { userId } ) => {
195195 const existingToken = await ctx . db
@@ -208,7 +208,7 @@ export const pauseNotificationsForUser = mutation({
208208} ) ;
209209
210210export const unpauseNotificationsForUser = mutation ( {
211- args : { userId : v . id ( "users" ) } ,
211+ args : { userId : v . string ( ) } ,
212212 returns : v . null ( ) ,
213213 handler : async ( ctx , { userId } ) => {
214214 const existingToken = await ctx . db
You can’t perform that action at this time.
0 commit comments