Skip to content

Commit 27fbe0a

Browse files
update appVersion
1 parent 61a4f5c commit 27fbe0a

File tree

2 files changed

+4
-5
lines changed
  • charts/processed_data/charts/processed_data
  • processed_data/src/graphql

2 files changed

+4
-5
lines changed

charts/processed_data/charts/processed_data/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ type: application
55

66
version: 0.1.0
77

8-
appVersion: 0.1.0-rc2
8+
appVersion: 0.1.0-rc3

processed_data/src/graphql/mod.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,15 +123,14 @@ impl AutoProcIntegration {
123123
async fn auto_proc_program(
124124
&self,
125125
ctx: &Context<'_>,
126-
) -> async_graphql::Result<Vec<AutoProcProgram>> {
126+
) -> async_graphql::Result<Option<AutoProcProgram>> {
127127
let database = ctx.data::<DatabaseConnection>()?;
128128
Ok(auto_proc_program::Entity::find()
129129
.filter(auto_proc_program::Column::AutoProcProgramId.eq(self.auto_proc_program_id))
130-
.all(database)
130+
.one(database)
131131
.await?
132-
.into_iter()
133132
.map(AutoProcProgram::from)
134-
.collect())
133+
)
135134
}
136135
}
137136

0 commit comments

Comments
 (0)