Skip to content

Commit fe592e2

Browse files
authored
Merge pull request #123 from hackclub/staging
pxl part 3
2 parents 7738f68 + dbb9d9b commit fe592e2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/routes/dashboard/admin/ysws-review/[id]/+page.server.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,10 @@ export const actions = {
300300
Authorization: `Bearer ${env.PXL_API_KEY}`,
301301
'Content-Type': 'application/json'
302302
},
303-
body: JSON.stringify({ email: primary_email, number_to_add: 200 })
303+
body: JSON.stringify({
304+
email: primary_email,
305+
number_to_add: 200 + queriedProject.timeSpent
306+
})
304307
});
305308
}
306309

0 commit comments

Comments
 (0)