chore: format

This commit is contained in:
naskya 2024-07-05 04:23:40 +09:00
parent c855681b0c
commit 3d11e6d519
No known key found for this signature in database
GPG key ID: 712D413B3A9FED5C

View file

@ -33,7 +33,13 @@ pub async fn should_nyaify(reader_user_id: &str) -> Result<bool, Error> {
.await?
.ok_or_else(|| Error::NotFound(reader_user_id.to_owned()))?;
cache::set_one(cache::Category::CatLang, reader_user_id, &fetched_value, 10 * 60).await?;
cache::set_one(
cache::Category::CatLang,
reader_user_id,
&fetched_value,
10 * 60,
)
.await?;
Ok(fetched_value)
}