Skip to content

Commit

Permalink
fix resolver for voteResultTextHelper
Browse files Browse the repository at this point in the history
Signed-off-by: Manuel Ruck <[email protected]>
  • Loading branch information
Manuel Ruck committed Nov 1, 2023
1 parent d778f6e commit 17c0861
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions bundestag.io/api/src/graphql/resolvers/Procedure.ts
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,7 @@ const ProcedureResolvers: Resolvers = {
}
const plenaryMinute = await PlenaryMinuteModel.findOne({
meeting: parseInt(session.session),
period: procedure.period,
});

console.log('plenaryMinute', plenaryMinute);
Expand Down
2 changes: 1 addition & 1 deletion common/bundestagio/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@democracy-deutschland/bundestagio-common",
"version": "0.1.21",
"version": "0.1.22-alpha.1",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion common/bundestagio/src/models/PlenaryMinute/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export type PlenaryMinuteDoc = IPlenaryMinute & Document & SchemaTimestampsConfi

const PlenaryMinuteSchema = new Schema<PlenaryMinuteDoc>(
{
date: { type: Date, required: true, unique: true },
date: { type: Date, required: true, unique: false },
meeting: { type: Number, required: true, unique: false },
period: { type: Number, required: true, unique: false },
xml: { type: String, required: true, unique: true },
Expand Down

0 comments on commit 17c0861

Please sign in to comment.