mirror of
https://github.com/markuryy/shark.git
synced 2026-07-28 07:41:02 +00:00
Compare commits
2 Commits
3d7d3ded1c
...
v0.1.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1abd13e898 | ||
|
|
3b67a03ad2 |
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "shark",
|
"name": "shark",
|
||||||
"version": "0.1.0",
|
"version": "0.1.1",
|
||||||
"description": "",
|
"description": "",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
2
src-tauri/Cargo.lock
generated
2
src-tauri/Cargo.lock
generated
@@ -4,7 +4,7 @@ version = 4
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "Shark"
|
name = "Shark"
|
||||||
version = "0.1.0"
|
version = "0.1.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"blowfish",
|
"blowfish",
|
||||||
"byteorder",
|
"byteorder",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "Shark"
|
name = "Shark"
|
||||||
version = "0.1.0"
|
version = "0.1.1"
|
||||||
description = "powered by tauri and sveltekit"
|
description = "powered by tauri and sveltekit"
|
||||||
authors = ["markuryy"]
|
authors = ["markuryy"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|||||||
@@ -139,7 +139,7 @@ export async function upsertPlaylists(playlists: any[]): Promise<void> {
|
|||||||
// Insert new playlists
|
// Insert new playlists
|
||||||
for (const playlist of playlists) {
|
for (const playlist of playlists) {
|
||||||
await database.execute(
|
await database.execute(
|
||||||
`INSERT INTO spotify_playlists (id, name, track_count, owner_name, image_url, cached_at)
|
`INSERT OR REPLACE INTO spotify_playlists (id, name, track_count, owner_name, image_url, cached_at)
|
||||||
VALUES ($1, $2, $3, $4, $5, $6)`,
|
VALUES ($1, $2, $3, $4, $5, $6)`,
|
||||||
[
|
[
|
||||||
playlist.id,
|
playlist.id,
|
||||||
|
|||||||
Reference in New Issue
Block a user