Skip to content

Commit faafde7

Browse files
committed
formatting code
1 parent 0258b9c commit faafde7

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/components/push.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -157,11 +157,7 @@ export async function updateDevice({
157157
return response;
158158
}
159159

160-
export async function updateDeviceUser({
161-
secretKey,
162-
idOrKey,
163-
userId,
164-
}) {
160+
export async function updateDeviceUser({secretKey, idOrKey, userId}) {
165161
const response = await server.loadJson(
166162
`${Config.apiUrl}${Endpoints.PROJECT.NOTIFICATIONS.PUSH.UPDATE_DEVICE_USER(
167163
idOrKey
@@ -175,7 +171,7 @@ export async function updateDeviceUser({
175171
'Content-Type': 'application/json',
176172
},
177173
body: JSON.stringify({
178-
userId
174+
userId,
179175
}),
180176
}
181177
);

0 commit comments

Comments
 (0)