Skip to content

Commit

Permalink
update appVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
iamvigneshwars committed Apr 9, 2024
1 parent 61a4f5c commit 27fbe0a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/processed_data/charts/processed_data/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ type: application

version: 0.1.0

appVersion: 0.1.0-rc2
appVersion: 0.1.0-rc3
7 changes: 3 additions & 4 deletions processed_data/src/graphql/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,15 +123,14 @@ impl AutoProcIntegration {
async fn auto_proc_program(
&self,
ctx: &Context<'_>,
) -> async_graphql::Result<Vec<AutoProcProgram>> {
) -> async_graphql::Result<Option<AutoProcProgram>> {
let database = ctx.data::<DatabaseConnection>()?;
Ok(auto_proc_program::Entity::find()
.filter(auto_proc_program::Column::AutoProcProgramId.eq(self.auto_proc_program_id))
.all(database)
.one(database)
.await?
.into_iter()
.map(AutoProcProgram::from)
.collect())
)
}
}

Expand Down

0 comments on commit 27fbe0a

Please sign in to comment.