Skip to content

Commit

Permalink
Fix: Broken Badge generation for decimal activity values
Browse files Browse the repository at this point in the history
  • Loading branch information
Poolitzer committed Aug 17, 2022
1 parent e95189c commit 55f7186
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions services/bountysource/bountysource.service.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import Joi from 'joi'
import { nonNegativeInteger } from '../validators.js'
import { metric } from '../text-formatters.js'
import { BaseJsonService } from '../index.js'

const schema = Joi.object({ activity_total: nonNegativeInteger })
const schema = Joi.object({ activity_total: Joi.number().required() })

export default class Bountysource extends BaseJsonService {
static category = 'funding'
Expand Down

0 comments on commit 55f7186

Please sign in to comment.