mirror of
https://github.com/versia-pub/activitypub.git
synced 2026-03-13 10:59:17 +01:00
feat: Add .env file to gitignore and update dependencies
The commit adds the `.env` file to the `.gitignore` and updates the dependencies in the `Cargo.toml` and `Cargo.lock` files. This change ensures that sensitive environment variables are not committed to the repository and keeps the dependencies up to date.
This commit is contained in:
parent
1174f92915
commit
15bba70d2a
12 changed files with 58 additions and 11 deletions
|
|
@ -58,7 +58,7 @@ impl Object for post::Model {
|
|||
let post = crate::entities::prelude::Post::find()
|
||||
.filter(post::Column::Id.eq(object_id.to_string()))
|
||||
.one(data.app_data().database_connection.clone().as_ref()).await;
|
||||
Ok(None)
|
||||
Ok(post.unwrap())
|
||||
}
|
||||
|
||||
async fn into_json(self, _data: &Data<Self::DataType>) -> Result<Self::Kind, Self::Error> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue