Overview
Comment: | Say updated for updates |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
635e1b2b6d95d27d964fcd3ead3eef5d |
User & Date: | arcade on 2021-10-01 07:19:48.025 |
Other Links: | manifest | tags |
Context
2021-10-09
| ||
11:12 | bump packages check-in: 4aa2a7e4a9 user: arcade tags: trunk | |
2021-10-01
| ||
07:19 | Say updated for updates check-in: 635e1b2b6d user: arcade tags: trunk | |
07:19 | better scheduling check-in: 4e0a19d772 user: arcade tags: trunk | |
Changes
Modified src/main.rs
from [c856c2cf77]
to [52e93d948c].
︙ | ︙ | |||
271 272 273 274 275 276 277 | } .bind(channel_id) .bind(url) .bind(iv_hash) .bind(owner) .bind(channel) .execute(&mut conn).await { | | > > > | 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 | } .bind(channel_id) .bind(url) .bind(iv_hash) .bind(owner) .bind(channel) .execute(&mut conn).await { Ok(_) => return Ok(String::from(match update { Some(_) => "Channel updated\\.", None => "Channel added\\.", })), Err(sqlx::Error::Database(err)) => { match err.downcast::<sqlx::postgres::PgDatabaseError>().routine() { Some("_bt_check_unique", ) => { return Ok("Duplicate key\\.".to_string()) }, Some(_) => { return Ok("Database error\\.".to_string()) |
︙ | ︙ |