Skip to content

Commit

Permalink
feat: update adopted probes comments
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-yarmosh committed Apr 5, 2024
1 parent d6dce68 commit d60280a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion seeds/development/user-data.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ export const seed = async (knex) => {
},
{
amount: 150,
comment: 'For the adopted probe adopted-probe-2 (213.136.174.80)',
comment: 'For the adopted probe "adopted-probe-2" (213.136.174.80)',
consumed: 1,
date_created: '2024-02-22 11:53:00',
github_id: user.external_identifier,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const addCredits = async (adoptedProbes: AdoptedProbe[], { services, data
github_id: usersMap.get(userId)?.external_identifier,
amount: parseInt(env.CREDITS_PER_ADOPTED_PROBE_DAY, 10),
adopted_probe: id,
comment: `For the adopted probe ${name ? name + ' ' : ''}(${ip})`,
comment: `For the adopted probe ${name ? `"${name}" ` : ''}(${ip})`,
}))) as number[];

return result;
Expand Down

0 comments on commit d60280a

Please sign in to comment.